Class Drg.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.Drg.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Drgbuild()Drg.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the DRG.Drg.Buildercopy(Drg model)Drg.BuilderdefaultDrgRouteTables(DefaultDrgRouteTables defaultDrgRouteTables)Drg.BuilderdefaultExportDrgRouteDistributionId(String defaultExportDrgRouteDistributionId)The OCID of this DRG’s default export route distribution for the DRG attachments.Drg.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Drg.BuilderdisplayName(String displayName)A user-friendly name.Drg.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Drg.Builderid(String id)The DRG’s Oracle ID (OCID).Drg.BuilderlifecycleState(Drg.LifecycleState lifecycleState)The DRG’s current state.Drg.BuildertimeCreated(Date timeCreated)The date and time the DRG was created, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic Drg.Builder compartmentId(String compartmentId) The OCID of the compartment containing the DRG.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic Drg.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Drg.Builder displayName(String displayName) A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Drg.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
idpublic Drg.Builder id(String id) The DRG’s Oracle ID (OCID).- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Drg.Builder lifecycleState(Drg.LifecycleState lifecycleState) The DRG’s current state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Drg.Builder timeCreated(Date timeCreated) The date and time the DRG was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
defaultDrgRouteTablespublic Drg.Builder defaultDrgRouteTables(DefaultDrgRouteTables defaultDrgRouteTables) 
 - 
defaultExportDrgRouteDistributionIdpublic Drg.Builder defaultExportDrgRouteDistributionId(String defaultExportDrgRouteDistributionId) The OCID of this DRG’s default export route distribution for the DRG attachments.- Parameters:
- defaultExportDrgRouteDistributionId- the value to set
- Returns:
- this builder
 
 - 
buildpublic Drg build() 
 - 
copypublic Drg.Builder copy(Drg model) 
 
- 
 
-