public static class RemotePeeringConnection.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RemotePeeringConnection |
build() |
RemotePeeringConnection.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment that contains the RPC.
|
RemotePeeringConnection.Builder |
copy(RemotePeeringConnection model) |
RemotePeeringConnection.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
RemotePeeringConnection.Builder |
displayName(String displayName)
A user-friendly name.
|
RemotePeeringConnection.Builder |
drgId(String drgId)
The OCID
of the DRG that this RPC belongs to.
|
RemotePeeringConnection.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
RemotePeeringConnection.Builder |
id(String id)
The OCID
of the RPC.
|
RemotePeeringConnection.Builder |
isCrossTenancyPeering(Boolean isCrossTenancyPeering)
Whether the VCN at the other end of the peering is in a different tenancy.
|
RemotePeeringConnection.Builder |
lifecycleState(RemotePeeringConnection.LifecycleState lifecycleState)
The RPC’s current lifecycle state.
|
RemotePeeringConnection.Builder |
peerId(String peerId)
If this RPC is peered, this value is the
OCID of
the other RPC.
|
RemotePeeringConnection.Builder |
peeringStatus(RemotePeeringConnection.PeeringStatus peeringStatus)
Whether the RPC is peered with another RPC.
|
RemotePeeringConnection.Builder |
peerRegionName(String peerRegionName)
If this RPC is peered, this value is the region that contains the other RPC.
|
RemotePeeringConnection.Builder |
peerTenancyId(String peerTenancyId)
If this RPC is peered, this value is the
OCID of
the other RPC’s tenancy.
|
RemotePeeringConnection.Builder |
timeCreated(Date timeCreated)
The date and time the RPC was created, in the format defined by
RFC3339.
|
public RemotePeeringConnection.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the RPC.
compartmentId
- the value to setpublic RemotePeeringConnection.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 RemotePeeringConnection.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 RemotePeeringConnection.Builder drgId(String drgId)
The OCID of the DRG that this RPC belongs to.
drgId
- the value to setpublic RemotePeeringConnection.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 RemotePeeringConnection.Builder id(String id)
The OCID of the RPC.
id
- the value to setpublic RemotePeeringConnection.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 RemotePeeringConnection.Builder lifecycleState(RemotePeeringConnection.LifecycleState lifecycleState)
The RPC’s current lifecycle state.
lifecycleState
- the value to setpublic RemotePeeringConnection.Builder peerId(String peerId)
If this RPC is peered, this value is the OCID of the other RPC.
peerId
- the value to setpublic RemotePeeringConnection.Builder peerRegionName(String peerRegionName)
If this RPC is peered, this value is the region that contains the other RPC.
Example: us-ashburn-1
peerRegionName
- the value to setpublic RemotePeeringConnection.Builder peerTenancyId(String peerTenancyId)
If this RPC is peered, this value is the OCID of the other RPC’s tenancy.
peerTenancyId
- the value to setpublic RemotePeeringConnection.Builder peeringStatus(RemotePeeringConnection.PeeringStatus peeringStatus)
Whether the RPC is peered with another RPC. NEW
means the RPC has not yet been
peered. PENDING
means the peering is being established. REVOKED
means the
RPC at the other end of the peering has been deleted.
peeringStatus
- the value to setpublic RemotePeeringConnection.Builder timeCreated(Date timeCreated)
The date and time the RPC was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic RemotePeeringConnection build()
public RemotePeeringConnection.Builder copy(RemotePeeringConnection model)
Copyright © 2016–2024. All rights reserved.