public static class DrgAttachment.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DrgAttachment |
build() |
DrgAttachment.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment containing the DRG attachment.
|
DrgAttachment.Builder |
copy(DrgAttachment model) |
DrgAttachment.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DrgAttachment.Builder |
displayName(String displayName)
A user-friendly name.
|
DrgAttachment.Builder |
drgId(String drgId)
The OCID
of the DRG.
|
DrgAttachment.Builder |
drgRouteTableId(String drgRouteTableId)
The OCID
of the DRG route table that is assigned to this attachment.
|
DrgAttachment.Builder |
exportDrgRouteDistributionId(String exportDrgRouteDistributionId)
The OCID
of the export route distribution used to specify how routes in the assigned DRG route
table are advertised to the attachment.
|
DrgAttachment.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DrgAttachment.Builder |
id(String id)
The DRG attachment’s Oracle ID
(OCID).
|
DrgAttachment.Builder |
isCrossTenancy(Boolean isCrossTenancy)
Indicates whether the DRG attachment and attached network live in a different tenancy
than the DRG.
|
DrgAttachment.Builder |
lifecycleState(DrgAttachment.LifecycleState lifecycleState)
The DRG attachment’s current state.
|
DrgAttachment.Builder |
networkDetails(DrgAttachmentNetworkDetails networkDetails) |
DrgAttachment.Builder |
routeTableId(String routeTableId)
The OCID
of the route table the DRG attachment is using.
|
DrgAttachment.Builder |
timeCreated(Date timeCreated)
The date and time the DRG attachment was created, in the format defined by
RFC3339.
|
DrgAttachment.Builder |
vcnId(String vcnId)
The OCID
of the VCN.
|
public DrgAttachment.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the DRG attachment.
compartmentId
- the value to setpublic DrgAttachment.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 DrgAttachment.Builder drgId(String drgId)
The OCID of the DRG.
drgId
- the value to setpublic DrgAttachment.Builder id(String id)
The DRG attachment’s Oracle ID (OCID).
id
- the value to setpublic DrgAttachment.Builder lifecycleState(DrgAttachment.LifecycleState lifecycleState)
The DRG attachment’s current state.
lifecycleState
- the value to setpublic DrgAttachment.Builder timeCreated(Date timeCreated)
The date and time the DRG attachment was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic DrgAttachment.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 DrgAttachment.Builder networkDetails(DrgAttachmentNetworkDetails networkDetails)
public DrgAttachment.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 DrgAttachment.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 DrgAttachment.Builder routeTableId(String routeTableId)
The OCID of the route table the DRG attachment is using.
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 view the
[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of
the attached resource.
routeTableId
- the value to setpublic DrgAttachment.Builder vcnId(String vcnId)
The OCID
of the VCN. This field is deprecated. Instead, use the networkDetails
field to
view the
OCID of
the attached resource.
vcnId
- the value to setpublic DrgAttachment.Builder exportDrgRouteDistributionId(String exportDrgRouteDistributionId)
The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment. If this value is null, no routes are advertised through this attachment.
exportDrgRouteDistributionId
- the value to setpublic DrgAttachment.Builder isCrossTenancy(Boolean isCrossTenancy)
Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG.
Example: false
isCrossTenancy
- the value to setpublic DrgAttachment build()
public DrgAttachment.Builder copy(DrgAttachment model)
Copyright © 2016–2024. All rights reserved.