Package com.oracle.bmc.core.model
Class Drg.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.Drg.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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)Free-form tags for this resource.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
-
compartmentId
public Drg.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the DRG.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
definedTags
public Drg.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
displayName
public 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
-
freeformTags
public Drg.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
id
public Drg.Builder id(String id)
The DRG’s Oracle ID (OCID).- Parameters:
id- the value to set- Returns:
- this builder
-
lifecycleState
public Drg.Builder lifecycleState(Drg.LifecycleState lifecycleState)
The DRG’s current state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public 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
-
defaultDrgRouteTables
public Drg.Builder defaultDrgRouteTables(DefaultDrgRouteTables defaultDrgRouteTables)
-
defaultExportDrgRouteDistributionId
public 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
-
build
public Drg build()
-
copy
public Drg.Builder copy(Drg model)
-
-