Interface ConnectPeer.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectPeer.Builder,ConnectPeer>,SdkBuilder<ConnectPeer.Builder,ConnectPeer>,SdkPojo
- Enclosing class:
- ConnectPeer
public static interface ConnectPeer.Builder extends SdkPojo, CopyableBuilder<ConnectPeer.Builder,ConnectPeer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ConnectPeer.Builderconfiguration(Consumer<ConnectPeerConfiguration.Builder> configuration)The configuration of the Connect peer.ConnectPeer.Builderconfiguration(ConnectPeerConfiguration configuration)The configuration of the Connect peer.ConnectPeer.BuilderconnectAttachmentId(String connectAttachmentId)The ID of the attachment to connect.ConnectPeer.BuilderconnectPeerId(String connectPeerId)The ID of the Connect peer.ConnectPeer.BuildercoreNetworkId(String coreNetworkId)The ID of a core network.ConnectPeer.BuildercreatedAt(Instant createdAt)The timestamp when the Connect peer was created.ConnectPeer.BuilderedgeLocation(String edgeLocation)The Connect peer Regions where edges are located.ConnectPeer.Builderstate(String state)The state of the Connect peer.ConnectPeer.Builderstate(ConnectPeerState state)The state of the Connect peer.ConnectPeer.BuildersubnetArn(String subnetArn)The subnet ARN for the Connect peer.ConnectPeer.Buildertags(Collection<Tag> tags)The list of key-value tags associated with the Connect peer.ConnectPeer.Buildertags(Consumer<Tag.Builder>... tags)The list of key-value tags associated with the Connect peer.ConnectPeer.Buildertags(Tag... tags)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 Detail
-
coreNetworkId
ConnectPeer.Builder coreNetworkId(String 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
ConnectPeer.Builder connectAttachmentId(String 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
ConnectPeer.Builder connectPeerId(String 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
ConnectPeer.Builder edgeLocation(String 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
ConnectPeer.Builder state(String 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:
ConnectPeerState,ConnectPeerState
-
state
ConnectPeer.Builder state(ConnectPeerState 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:
ConnectPeerState,ConnectPeerState
-
createdAt
ConnectPeer.Builder createdAt(Instant 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
ConnectPeer.Builder configuration(ConnectPeerConfiguration 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
default ConnectPeer.Builder configuration(Consumer<ConnectPeerConfiguration.Builder> configuration)
The configuration of the Connect peer.
This is a convenience method that creates an instance of theConnectPeerConfiguration.Builderavoiding the need to create one manually viaConnectPeerConfiguration.builder().When the
Consumercompletes,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:
configuration(ConnectPeerConfiguration)
-
tags
ConnectPeer.Builder tags(Collection<Tag> 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
ConnectPeer.Builder tags(Tag... 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
ConnectPeer.Builder tags(Consumer<Tag.Builder>... tags)
The list of key-value tags associated with the Connect peer.
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)
-
subnetArn
ConnectPeer.Builder subnetArn(String subnetArn)
The subnet ARN for the Connect peer.
- Parameters:
subnetArn- The subnet ARN for the Connect peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-