public static class CreateDrgAttachmentDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateDrgAttachmentDetails.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic CreateDrgAttachmentDetails.Builder drgId(String drgId)
The OCID of the DRG.
drgId
- the value to setpublic CreateDrgAttachmentDetails.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.
drgRouteTableId
- the value to setpublic CreateDrgAttachmentDetails.Builder networkDetails(DrgAttachmentNetworkCreateDetails networkDetails)
public CreateDrgAttachmentDetails.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"}}
definedTags
- the value to setpublic CreateDrgAttachmentDetails.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"}
freeformTags
- the value to setpublic CreateDrgAttachmentDetails.Builder routeTableId(String routeTableId)
The OCID of the route table used by the DRG attachment.
If you don't specify a route table here, the DRG attachment is created without an associated route table. The Networking service does NOT automatically associate the attached VCN's default route table with the DRG 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.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * [Transit Routing: Private Access to Oracle Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) This field is deprecated. Instead, use the networkDetails field to specify the VCN route table for this attachment.
routeTableId
- the value to setpublic CreateDrgAttachmentDetails.Builder vcnId(String vcnId)
The OCID
of the VCN. This field is deprecated. Instead, use the networkDetails
field to
specify the
OCID of
the attached resource.
vcnId
- the value to setpublic CreateDrgAttachmentDetails build()
public CreateDrgAttachmentDetails.Builder copy(CreateDrgAttachmentDetails model)
Copyright © 2016–2024. All rights reserved.