Class DrgRouteDistribution.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.DrgRouteDistribution.Builder
-
- Enclosing class:
- DrgRouteDistribution
public static class DrgRouteDistribution.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DrgRouteDistribution
build()
DrgRouteDistribution.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the route distribution.DrgRouteDistribution.Builder
copy(DrgRouteDistribution model)
DrgRouteDistribution.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DrgRouteDistribution.Builder
displayName(String displayName)
A user-friendly name.DrgRouteDistribution.Builder
distributionType(DrgRouteDistribution.DistributionType distributionType)
Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.DrgRouteDistribution.Builder
drgId(String drgId)
The OCID of the DRG that contains this route distribution.DrgRouteDistribution.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.DrgRouteDistribution.Builder
id(String id)
The route distribution’s Oracle ID (OCID).DrgRouteDistribution.Builder
lifecycleState(DrgRouteDistribution.LifecycleState lifecycleState)
The route distribution’s current state.DrgRouteDistribution.Builder
timeCreated(Date timeCreated)
The date and time the route distribution was created, in the format defined by RFC3339.
-
-
-
Method Detail
-
drgId
public DrgRouteDistribution.Builder drgId(String drgId)
The OCID of the DRG that contains this route distribution.- Parameters:
drgId
- the value to set- Returns:
- this builder
-
compartmentId
public DrgRouteDistribution.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the route distribution.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
definedTags
public DrgRouteDistribution.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 DrgRouteDistribution.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 DrgRouteDistribution.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 DrgRouteDistribution.Builder id(String id)
The route distribution’s Oracle ID (OCID).- Parameters:
id
- the value to set- Returns:
- this builder
-
lifecycleState
public DrgRouteDistribution.Builder lifecycleState(DrgRouteDistribution.LifecycleState lifecycleState)
The route distribution’s current state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public DrgRouteDistribution.Builder timeCreated(Date timeCreated)
The date and time the route distribution was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
distributionType
public DrgRouteDistribution.Builder distributionType(DrgRouteDistribution.DistributionType distributionType)
Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.- Parameters:
distributionType
- the value to set- Returns:
- this builder
-
build
public DrgRouteDistribution build()
-
copy
public DrgRouteDistribution.Builder copy(DrgRouteDistribution model)
-
-