public static class LocalPeeringGateway.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LocalPeeringGateway |
build() |
LocalPeeringGateway.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment containing the LPG.
|
LocalPeeringGateway.Builder |
copy(LocalPeeringGateway model) |
LocalPeeringGateway.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
LocalPeeringGateway.Builder |
displayName(String displayName)
A user-friendly name.
|
LocalPeeringGateway.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
LocalPeeringGateway.Builder |
id(String id)
The LPG’s Oracle ID
(OCID).
|
LocalPeeringGateway.Builder |
isCrossTenancyPeering(Boolean isCrossTenancyPeering)
Whether the VCN at the other end of the peering is in a different tenancy.
|
LocalPeeringGateway.Builder |
lifecycleState(LocalPeeringGateway.LifecycleState lifecycleState)
The LPG’s current lifecycle state.
|
LocalPeeringGateway.Builder |
peerAdvertisedCidr(String peerAdvertisedCidr)
The smallest aggregate CIDR that contains all the CIDR routes advertised by the VCN at
the other end of the peering from this LPG.
|
LocalPeeringGateway.Builder |
peerAdvertisedCidrDetails(List<String> peerAdvertisedCidrDetails)
The specific ranges of IP addresses available on or via the VCN at the other end of the
peering from this LPG.
|
LocalPeeringGateway.Builder |
peerId(String peerId)
The OCID
of the peered LPG.
|
LocalPeeringGateway.Builder |
peeringStatus(LocalPeeringGateway.PeeringStatus peeringStatus)
Whether the LPG is peered with another LPG.
|
LocalPeeringGateway.Builder |
peeringStatusDetails(String peeringStatusDetails)
Additional information regarding the peering status, if applicable.
|
LocalPeeringGateway.Builder |
routeTableId(String routeTableId)
The OCID
of the route table the LPG is using.
|
LocalPeeringGateway.Builder |
timeCreated(Date timeCreated)
The date and time the LPG was created, in the format defined by
RFC3339.
|
LocalPeeringGateway.Builder |
vcnId(String vcnId)
The OCID
of the VCN that uses the LPG.
|
public LocalPeeringGateway.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the LPG.
compartmentId
- the value to setpublic LocalPeeringGateway.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 LocalPeeringGateway.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 LocalPeeringGateway.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 LocalPeeringGateway.Builder id(String id)
The LPG’s Oracle ID (OCID).
id
- the value to setpublic LocalPeeringGateway.Builder isCrossTenancyPeering(Boolean isCrossTenancyPeering)
Whether the VCN at the other end of the peering is in a different tenancy.
Example: false
isCrossTenancyPeering
- the value to setpublic LocalPeeringGateway.Builder lifecycleState(LocalPeeringGateway.LifecycleState lifecycleState)
The LPG’s current lifecycle state.
lifecycleState
- the value to setpublic LocalPeeringGateway.Builder peerAdvertisedCidr(String peerAdvertisedCidr)
The smallest aggregate CIDR that contains all the CIDR routes advertised by the VCN at
the other end of the peering from this LPG. See peerAdvertisedCidrDetails
for the
individual CIDRs. The value is null
if the LPG is not peered.
Example: 192.168.0.0/16
, or if aggregated with 172.16.0.0/24
then
128.0.0.0/1
peerAdvertisedCidr
- the value to setpublic LocalPeeringGateway.Builder peerAdvertisedCidrDetails(List<String> peerAdvertisedCidrDetails)
The specific ranges of IP addresses available on or via the VCN at the other end of the
peering from this LPG. The value is null
if the LPG is not peered. You can use
these as destination CIDRs for route rules to route a subnet’s traffic to this LPG.
Example: [192.168.0.0/16
, 172.16.0.0/24
]
peerAdvertisedCidrDetails
- the value to setpublic LocalPeeringGateway.Builder peeringStatus(LocalPeeringGateway.PeeringStatus peeringStatus)
Whether the LPG is peered with another LPG. NEW
means the LPG has not yet been
peered. PENDING
means the peering is being established. REVOKED
means the
LPG at the other end of the peering has been deleted.
peeringStatus
- the value to setpublic LocalPeeringGateway.Builder peeringStatusDetails(String peeringStatusDetails)
Additional information regarding the peering status, if applicable.
peeringStatusDetails
- the value to setpublic LocalPeeringGateway.Builder peerId(String peerId)
The OCID of the peered LPG.
peerId
- the value to setpublic LocalPeeringGateway.Builder routeTableId(String routeTableId)
The OCID of the route table the LPG is using.
For information about why you would associate a route table with an LPG, see [Transit Routing: Access to Multiple VCNs in Same Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm).
routeTableId
- the value to setpublic LocalPeeringGateway.Builder timeCreated(Date timeCreated)
The date and time the LPG was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic LocalPeeringGateway.Builder vcnId(String vcnId)
The OCID of the VCN that uses the LPG.
vcnId
- the value to setpublic LocalPeeringGateway build()
public LocalPeeringGateway.Builder copy(LocalPeeringGateway model)
Copyright © 2016–2024. All rights reserved.