Package com.oracle.bmc.core.model
Class CreateDrgRouteTableDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.CreateDrgRouteTableDetails.Builder
-
- Enclosing class:
- CreateDrgRouteTableDetails
public static class CreateDrgRouteTableDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDrgRouteTableDetailsbuild()CreateDrgRouteTableDetails.Buildercopy(CreateDrgRouteTableDetails model)CreateDrgRouteTableDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateDrgRouteTableDetails.BuilderdisplayName(String displayName)A user-friendly name.CreateDrgRouteTableDetails.BuilderdrgId(String drgId)The OCID of the DRG the DRG route table belongs to.CreateDrgRouteTableDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateDrgRouteTableDetails.BuilderimportDrgRouteDistributionId(String importDrgRouteDistributionId)The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.CreateDrgRouteTableDetails.BuilderisEcmpEnabled(Boolean isEcmpEnabled)If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.
-
-
-
Method Detail
-
definedTags
public CreateDrgRouteTableDetails.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 CreateDrgRouteTableDetails.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 CreateDrgRouteTableDetails.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
-
drgId
public CreateDrgRouteTableDetails.Builder drgId(String drgId)
The OCID of the DRG the DRG route table belongs to.- Parameters:
drgId- the value to set- Returns:
- this builder
-
importDrgRouteDistributionId
public CreateDrgRouteTableDetails.Builder importDrgRouteDistributionId(String importDrgRouteDistributionId)
The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.- Parameters:
importDrgRouteDistributionId- the value to set- Returns:
- this builder
-
isEcmpEnabled
public CreateDrgRouteTableDetails.Builder isEcmpEnabled(Boolean isEcmpEnabled)
If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.- Parameters:
isEcmpEnabled- the value to set- Returns:
- this builder
-
build
public CreateDrgRouteTableDetails build()
-
copy
public CreateDrgRouteTableDetails.Builder copy(CreateDrgRouteTableDetails model)
-
-