Interface Peering.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Peering.Builder,
,Peering> SdkBuilder<Peering.Builder,
,Peering> SdkPojo
- Enclosing class:
Peering
-
Method Summary
Modifier and TypeMethodDescriptioncoreNetworkArn
(String coreNetworkArn) The ARN of a core network.coreNetworkId
(String coreNetworkId) The ID of the core network for the peering request.The timestamp when the attachment peer was created.edgeLocation
(String edgeLocation) The edge location for the peer.lastModificationErrors
(Collection<PeeringError> lastModificationErrors) Describes the error associated with the Connect peer request.lastModificationErrors
(Consumer<PeeringError.Builder>... lastModificationErrors) Describes the error associated with the Connect peer request.lastModificationErrors
(PeeringError... lastModificationErrors) Describes the error associated with the Connect peer request.ownerAccountId
(String ownerAccountId) The ID of the account owner.The ID of the peering attachment.peeringType
(String peeringType) The type of peering.peeringType
(PeeringType peeringType) The type of peering.resourceArn
(String resourceArn) The resource ARN of the peer.The current state of the peering connection.state
(PeeringState state) The current state of the peering connection.tags
(Collection<Tag> tags) The list of key-value tags associated with the peering.tags
(Consumer<Tag.Builder>... tags) The list of key-value tags associated with the peering.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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:
-
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:
-
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:
-
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
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
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
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
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-
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.
-
lastModificationErrors
Describes the error associated with the Connect peer request.
- Parameters:
lastModificationErrors
- Describes the error associated with the Connect peer request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationErrors
Describes the error associated with the Connect peer request.
- Parameters:
lastModificationErrors
- Describes the error associated with the Connect peer request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationErrors
Describes the error associated with the Connect peer request.
This is a convenience method that creates an instance of thePeeringError.Builder
avoiding the need to create one manually viaPeeringError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastModificationErrors(List<PeeringError>)
.- Parameters:
lastModificationErrors
- a consumer that will call methods onPeeringError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-