Interface Peering.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Peering.Builder,Peering>,SdkBuilder<Peering.Builder,Peering>,SdkPojo
- Enclosing class:
- Peering
public static interface Peering.Builder extends SdkPojo, CopyableBuilder<Peering.Builder,Peering>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Peering.BuildercoreNetworkArn(String coreNetworkArn)The ARN of a core network.Peering.BuildercoreNetworkId(String coreNetworkId)The ID of the core network for the peering request.Peering.BuildercreatedAt(Instant createdAt)The timestamp when the attachment peer was created.Peering.BuilderedgeLocation(String edgeLocation)The edge location for the peer.Peering.BuilderownerAccountId(String ownerAccountId)The ID of the account owner.Peering.BuilderpeeringId(String peeringId)The ID of the peering attachment.Peering.BuilderpeeringType(String peeringType)The type of peering.Peering.BuilderpeeringType(PeeringType peeringType)The type of peering.Peering.BuilderresourceArn(String resourceArn)The resource ARN of the peer.Peering.Builderstate(String state)The current state of the peering connection.Peering.Builderstate(PeeringState state)The current state of the peering connection.Peering.Buildertags(Collection<Tag> tags)The list of key-value tags associated with the peering.Peering.Buildertags(Consumer<Tag.Builder>... tags)The list of key-value tags associated with the peering.Peering.Buildertags(Tag... tags)The list of key-value tags associated with the peering.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
coreNetworkId
Peering.Builder coreNetworkId(String coreNetworkId)
The ID of the core network for the peering request.
- Parameters:
coreNetworkId- The ID of the core network for the peering request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coreNetworkArn
Peering.Builder coreNetworkArn(String coreNetworkArn)
The ARN of a core network.
- Parameters:
coreNetworkArn- The ARN of a core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peeringId
Peering.Builder peeringId(String peeringId)
The ID of the peering attachment.
- Parameters:
peeringId- The ID of the peering attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerAccountId
Peering.Builder ownerAccountId(String ownerAccountId)
The ID of the account owner.
- Parameters:
ownerAccountId- The ID of the account owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peeringType
Peering.Builder peeringType(String peeringType)
The type of peering. This will be
TRANSIT_GATEWAY.- Parameters:
peeringType- The type of peering. This will beTRANSIT_GATEWAY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PeeringType,PeeringType
-
peeringType
Peering.Builder peeringType(PeeringType peeringType)
The type of peering. This will be
TRANSIT_GATEWAY.- Parameters:
peeringType- The type of peering. This will beTRANSIT_GATEWAY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PeeringType,PeeringType
-
state
Peering.Builder state(String state)
The current state of the peering connection.
- Parameters:
state- The current state of the peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PeeringState,PeeringState
-
state
Peering.Builder state(PeeringState state)
The current state of the peering connection.
- Parameters:
state- The current state of the peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PeeringState,PeeringState
-
edgeLocation
Peering.Builder edgeLocation(String edgeLocation)
The edge location for the peer.
- Parameters:
edgeLocation- The edge location for the peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
Peering.Builder resourceArn(String resourceArn)
The resource ARN of the peer.
- Parameters:
resourceArn- The resource ARN of the peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Peering.Builder tags(Collection<Tag> tags)
The list of key-value tags associated with the peering.
- Parameters:
tags- The list of key-value tags associated with the peering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Peering.Builder tags(Tag... tags)
The list of key-value tags associated with the peering.
- Parameters:
tags- The list of key-value tags associated with the peering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
createdAt
Peering.Builder createdAt(Instant createdAt)
The timestamp when the attachment peer was created.
- Parameters:
createdAt- The timestamp when the attachment peer was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-