Class Drg.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.Drg.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Drg
build()
Drg.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the DRG.Drg.Builder
copy(Drg model)
Drg.Builder
defaultDrgRouteTables(DefaultDrgRouteTables defaultDrgRouteTables)
Drg.Builder
defaultExportDrgRouteDistributionId(String defaultExportDrgRouteDistributionId)
The OCID of this DRG’s default export route distribution for the DRG attachments.Drg.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Drg.Builder
displayName(String displayName)
A user-friendly name.Drg.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Drg.Builder
id(String id)
The DRG’s Oracle ID (OCID).Drg.Builder
lifecycleState(Drg.LifecycleState lifecycleState)
The DRG’s current state.Drg.Builder
timeCreated(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. Example: {“foo-namespace”: {“bar-key”: “value”}}
- 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)
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
-
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)
-
-