public static interface Peering.Builder extends SdkPojo, CopyableBuilder<Peering.Builder,Peering>
| Modifier and Type | Method and Description |
|---|---|
Peering.Builder |
coreNetworkArn(String coreNetworkArn)
The ARN of a core network.
|
Peering.Builder |
coreNetworkId(String coreNetworkId)
The ID of the core network for the peering request.
|
Peering.Builder |
createdAt(Instant createdAt)
The timestamp when the attachment peer was created.
|
Peering.Builder |
edgeLocation(String edgeLocation)
The edge location for the peer.
|
Peering.Builder |
ownerAccountId(String ownerAccountId)
The ID of the account owner.
|
Peering.Builder |
peeringId(String peeringId)
The ID of the peering attachment.
|
Peering.Builder |
peeringType(PeeringType peeringType)
The type of peering.
|
Peering.Builder |
peeringType(String peeringType)
The type of peering.
|
Peering.Builder |
resourceArn(String resourceArn)
The resource ARN of the peer.
|
Peering.Builder |
state(PeeringState state)
The current state of the peering connection.
|
Peering.Builder |
state(String state)
The current state of the peering connection.
|
Peering.Builder |
tags(Collection<Tag> tags)
The list of key-value tags associated with the peering.
|
Peering.Builder |
tags(Consumer<Tag.Builder>... tags)
The list of key-value tags associated with the peering.
|
Peering.Builder |
tags(Tag... tags)
The list of key-value tags associated with the peering.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPeering.Builder coreNetworkId(String coreNetworkId)
The ID of the core network for the peering request.
coreNetworkId - The ID of the core network for the peering request.Peering.Builder coreNetworkArn(String coreNetworkArn)
The ARN of a core network.
coreNetworkArn - The ARN of a core network.Peering.Builder peeringId(String peeringId)
The ID of the peering attachment.
peeringId - The ID of the peering attachment.Peering.Builder ownerAccountId(String ownerAccountId)
The ID of the account owner.
ownerAccountId - The ID of the account owner.Peering.Builder peeringType(String peeringType)
The type of peering. This will be TRANSIT_GATEWAY.
peeringType - The type of peering. This will be TRANSIT_GATEWAY.PeeringType,
PeeringTypePeering.Builder peeringType(PeeringType peeringType)
The type of peering. This will be TRANSIT_GATEWAY.
peeringType - The type of peering. This will be TRANSIT_GATEWAY.PeeringType,
PeeringTypePeering.Builder state(String state)
The current state of the peering connection.
state - The current state of the peering connection.PeeringState,
PeeringStatePeering.Builder state(PeeringState state)
The current state of the peering connection.
state - The current state of the peering connection.PeeringState,
PeeringStatePeering.Builder edgeLocation(String edgeLocation)
The edge location for the peer.
edgeLocation - The edge location for the peer.Peering.Builder resourceArn(String resourceArn)
The resource ARN of the peer.
resourceArn - The resource ARN of the peer.Peering.Builder tags(Collection<Tag> tags)
The list of key-value tags associated with the peering.
tags - The list of key-value tags associated with the peering.Peering.Builder tags(Tag... tags)
The list of key-value tags associated with the peering.
tags - The list of key-value tags associated with the peering.Peering.Builder tags(Consumer<Tag.Builder>... tags)
The list of key-value tags associated with the peering.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) Peering.Builder createdAt(Instant createdAt)
The timestamp when the attachment peer was created.
createdAt - The timestamp when the attachment peer was created.Copyright © 2023. All rights reserved.