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 range of IP addresses available on the VCN at the other
end of the peering from this 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 |
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 range of IP addresses available on 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 this as the destination CIDR for a route rule to route a subnet’s
traffic to this LPG.
Example: 192.168.0.0/16
peerAdvertisedCidr
- 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 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–2023. All rights reserved.