Class CreateDrgRouteDistributionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.CreateDrgRouteDistributionDetails.Builder
-
- Enclosing class:
- CreateDrgRouteDistributionDetails
public static class CreateDrgRouteDistributionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDrgRouteDistributionDetails
build()
CreateDrgRouteDistributionDetails.Builder
copy(CreateDrgRouteDistributionDetails model)
CreateDrgRouteDistributionDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateDrgRouteDistributionDetails.Builder
displayName(String displayName)
A user-friendly name.CreateDrgRouteDistributionDetails.Builder
distributionType(CreateDrgRouteDistributionDetails.DistributionType distributionType)
Whether this distribution defines how routes get imported into route tables or exported through DRG AttachmentsCreateDrgRouteDistributionDetails.Builder
drgId(String drgId)
The OCID of the DRG the DRG route table belongs to.CreateDrgRouteDistributionDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
-
-
-
Method Detail
-
definedTags
public CreateDrgRouteDistributionDetails.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 CreateDrgRouteDistributionDetails.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 CreateDrgRouteDistributionDetails.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
-
drgId
public CreateDrgRouteDistributionDetails.Builder drgId(String drgId)
The OCID of the DRG the DRG route table belongs to.- Parameters:
drgId
- the value to set- Returns:
- this builder
-
distributionType
public CreateDrgRouteDistributionDetails.Builder distributionType(CreateDrgRouteDistributionDetails.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 CreateDrgRouteDistributionDetails build()
-
copy
public CreateDrgRouteDistributionDetails.Builder copy(CreateDrgRouteDistributionDetails model)
-
-