Interface ConnectPeer.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConnectPeer.Builder,
,ConnectPeer> SdkBuilder<ConnectPeer.Builder,
,ConnectPeer> SdkPojo
- Enclosing class:
ConnectPeer
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConnectPeer.Builder
configuration
(Consumer<ConnectPeerConfiguration.Builder> configuration) The configuration of the Connect peer.configuration
(ConnectPeerConfiguration configuration) The configuration of the Connect peer.connectAttachmentId
(String connectAttachmentId) The ID of the attachment to connect.connectPeerId
(String connectPeerId) The ID of the Connect peer.coreNetworkId
(String coreNetworkId) The ID of a core network.The timestamp when the Connect peer was created.edgeLocation
(String edgeLocation) The Connect peer Regions where edges are located.lastModificationErrors
(Collection<ConnectPeerError> lastModificationErrors) Describes the error associated with the attachment request.lastModificationErrors
(Consumer<ConnectPeerError.Builder>... lastModificationErrors) Describes the error associated with the attachment request.lastModificationErrors
(ConnectPeerError... lastModificationErrors) Describes the error associated with the attachment request.The state of the Connect peer.state
(ConnectPeerState state) The state of the Connect peer.The subnet ARN for the Connect peer.tags
(Collection<Tag> tags) The list of key-value tags associated with the Connect peer.tags
(Consumer<Tag.Builder>... tags) The list of key-value tags associated with the Connect peer.The list of key-value tags associated with the Connect peer.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 Details
-
coreNetworkId
The ID of a core network.
- Parameters:
coreNetworkId
- The ID of a core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectAttachmentId
The ID of the attachment to connect.
- Parameters:
connectAttachmentId
- The ID of the attachment to connect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectPeerId
The ID of the Connect peer.
- Parameters:
connectPeerId
- The ID of the Connect peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edgeLocation
The Connect peer Regions where edges are located.
- Parameters:
edgeLocation
- The Connect peer Regions where edges are located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the Connect peer.
- Parameters:
state
- The state of the Connect peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the Connect peer.
- Parameters:
state
- The state of the Connect peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the Connect peer was created.
- Parameters:
createdAt
- The timestamp when the Connect peer was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The configuration of the Connect peer.
- Parameters:
configuration
- The configuration of the Connect peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The configuration of the Connect peer.
This is a convenience method that creates an instance of theConnectPeerConfiguration.Builder
avoiding the need to create one manually viaConnectPeerConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(ConnectPeerConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onConnectPeerConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The list of key-value tags associated with the Connect peer.
- Parameters:
tags
- The list of key-value tags associated with the Connect 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 Connect peer.
- Parameters:
tags
- The list of key-value tags associated with the Connect 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 Connect peer.
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:
-
subnetArn
The subnet ARN for the Connect peer. This only applies only when the protocol is NO_ENCAP.
- Parameters:
subnetArn
- The subnet ARN for the Connect peer. This only applies only when the protocol is NO_ENCAP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationErrors
Describes the error associated with the attachment request.
- Parameters:
lastModificationErrors
- Describes the error associated with the attachment request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationErrors
Describes the error associated with the attachment request.
- Parameters:
lastModificationErrors
- Describes the error associated with the attachment request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationErrors
ConnectPeer.Builder lastModificationErrors(Consumer<ConnectPeerError.Builder>... lastModificationErrors) Describes the error associated with the attachment request.
This is a convenience method that creates an instance of theConnectPeerError.Builder
avoiding the need to create one manually viaConnectPeerError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastModificationErrors(List<ConnectPeerError>)
.- Parameters:
lastModificationErrors
- a consumer that will call methods onConnectPeerError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-