Class UpdateDrgAttachmentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.UpdateDrgAttachmentDetails.Builder
-
- Enclosing class:
- UpdateDrgAttachmentDetails
public static class UpdateDrgAttachmentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDrgAttachmentDetails
build()
UpdateDrgAttachmentDetails.Builder
copy(UpdateDrgAttachmentDetails model)
UpdateDrgAttachmentDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateDrgAttachmentDetails.Builder
displayName(String displayName)
A user-friendly name.UpdateDrgAttachmentDetails.Builder
drgRouteTableId(String drgRouteTableId)
The OCID of the DRG route table that is assigned to this attachment.UpdateDrgAttachmentDetails.Builder
exportDrgRouteDistributionId(String exportDrgRouteDistributionId)
The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised out through the attachment.UpdateDrgAttachmentDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.UpdateDrgAttachmentDetails.Builder
networkDetails(DrgAttachmentNetworkUpdateDetails networkDetails)
UpdateDrgAttachmentDetails.Builder
routeTableId(String routeTableId)
This is the OCID of the route table that is used to route the traffic as it enters a VCN through this attachment.
-
-
-
Method Detail
-
displayName
public UpdateDrgAttachmentDetails.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
-
drgRouteTableId
public UpdateDrgAttachmentDetails.Builder drgRouteTableId(String drgRouteTableId)
The OCID of the DRG route table that is assigned to this attachment.The DRG route table manages traffic inside the DRG.
You can't remove a DRG route table from a DRG attachment, but you can reassign which DRG route table it uses.
- Parameters:
drgRouteTableId
- the value to set- Returns:
- this builder
-
networkDetails
public UpdateDrgAttachmentDetails.Builder networkDetails(DrgAttachmentNetworkUpdateDetails networkDetails)
-
definedTags
public UpdateDrgAttachmentDetails.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
-
freeformTags
public UpdateDrgAttachmentDetails.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
-
exportDrgRouteDistributionId
public UpdateDrgAttachmentDetails.Builder exportDrgRouteDistributionId(String exportDrgRouteDistributionId)
The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised out through the attachment.If this value is null, no routes are advertised through this attachment.
- Parameters:
exportDrgRouteDistributionId
- the value to set- Returns:
- this builder
-
routeTableId
public UpdateDrgAttachmentDetails.Builder routeTableId(String routeTableId)
This is the OCID of the route table that is used to route the traffic as it enters a VCN through this attachment.For information about why you would associate a route table with a DRG attachment, see:
[Transit Routing: Access to Multiple VCNs in Same Region](https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * [Transit Routing: Private Access to Oracle Services](https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm)
- Parameters:
routeTableId
- the value to set- Returns:
- this builder
-
build
public UpdateDrgAttachmentDetails build()
-
copy
public UpdateDrgAttachmentDetails.Builder copy(UpdateDrgAttachmentDetails model)
-
-