Interface ClusterPeer.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterPeer.Builder,,ClusterPeer> SdkBuilder<ClusterPeer.Builder,,ClusterPeer> SdkPojo
- Enclosing class:
ClusterPeer
-
Method Summary
Modifier and TypeMethodDescriptionallowedSvmIds(String... allowedSvmIds) The IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster, ifAllowedSvmModeisSPECIFIED.allowedSvmIds(Collection<String> allowedSvmIds) The IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster, ifAllowedSvmModeisSPECIFIED.allowedSvmMode(String allowedSvmMode) Indicates which SVMs on the file system are preauthorized for SVM peering with the peer cluster.allowedSvmMode(AllowedSvmMode allowedSvmMode) Indicates which SVMs on the file system are preauthorized for SVM peering with the peer cluster.default ClusterPeer.BuilderauthenticationStatus(Consumer<ClusterPeerAuthenticationStatus.Builder> authenticationStatus) The authentication status of the cluster peer relationship.authenticationStatus(ClusterPeerAuthenticationStatus authenticationStatus) The authentication status of the cluster peer relationship.clusterPeerId(String clusterPeerId) The system-generated, unique ID of the cluster peer.fileSystemId(String fileSystemId) The globally unique ID of the file system, assigned by Amazon FSx.The lifecycle status of the cluster peer can be one of the following:lifecycle(ClusterPeerLifecycle lifecycle) The lifecycle status of the cluster peer can be one of the following:default ClusterPeer.BuilderlifecycleTransitionReason(Consumer<LifecycleTransitionReason.Builder> lifecycleTransitionReason) The reason why the cluster peer lifecycle status changed.lifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason) The reason why the cluster peer lifecycle status changed.passphraseSecretArn(String passphraseSecretArn) The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the cluster peering passphrase.peerAddresses(String... peerAddresses) The IP addresses of the intercluster logical interfaces (LIFs) on the peer cluster.peerAddresses(Collection<String> peerAddresses) The IP addresses of the intercluster logical interfaces (LIFs) on the peer cluster.peerClusterName(String peerClusterName) The name that the file system uses to identify the peer cluster.resourceARN(String resourceARN) Sets the value of the ResourceARN property for this object.The status of the connection to the peer cluster.tags(Collection<Tag> tags) Sets the value of the Tags property for this object.tags(Consumer<Tag.Builder>... tags) Sets the value of the Tags property for this object.Sets the value of the Tags property for this object.The cluster peer's universally unique identifier (UUID).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceARN
Sets the value of the ResourceARN property for this object.- Parameters:
resourceARN- The new value for the ResourceARN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterPeerId
The system-generated, unique ID of the cluster peer.
- Parameters:
clusterPeerId- The system-generated, unique ID of the cluster peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemId
The globally unique ID of the file system, assigned by Amazon FSx.
- Parameters:
fileSystemId- The globally unique ID of the file system, assigned by Amazon FSx.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycle
The lifecycle status of the cluster peer can be one of the following:
-
CREATED– The cluster peer is fully available for use. -
CREATING– Amazon FSx is creating the cluster peer. -
DELETING– Amazon FSx is deleting the cluster peer. -
FAILED– Amazon FSx was unable to create the cluster peer.
- Parameters:
lifecycle- The lifecycle status of the cluster peer can be one of the following:-
CREATED– The cluster peer is fully available for use. -
CREATING– Amazon FSx is creating the cluster peer. -
DELETING– Amazon FSx is deleting the cluster peer. -
FAILED– Amazon FSx was unable to create the cluster peer.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
lifecycle
The lifecycle status of the cluster peer can be one of the following:
-
CREATED– The cluster peer is fully available for use. -
CREATING– Amazon FSx is creating the cluster peer. -
DELETING– Amazon FSx is deleting the cluster peer. -
FAILED– Amazon FSx was unable to create the cluster peer.
- Parameters:
lifecycle- The lifecycle status of the cluster peer can be one of the following:-
CREATED– The cluster peer is fully available for use. -
CREATING– Amazon FSx is creating the cluster peer. -
DELETING– Amazon FSx is deleting the cluster peer. -
FAILED– Amazon FSx was unable to create the cluster peer.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
lifecycleTransitionReason
The reason why the cluster peer lifecycle status changed.
- Parameters:
lifecycleTransitionReason- The reason why the cluster peer lifecycle status changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleTransitionReason
default ClusterPeer.Builder lifecycleTransitionReason(Consumer<LifecycleTransitionReason.Builder> lifecycleTransitionReason) The reason why the cluster peer lifecycle status changed.
This is a convenience method that creates an instance of theLifecycleTransitionReason.Builderavoiding the need to create one manually viaLifecycleTransitionReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolifecycleTransitionReason(LifecycleTransitionReason).- Parameters:
lifecycleTransitionReason- a consumer that will call methods onLifecycleTransitionReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object. 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 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:
-
peerAddresses
The IP addresses of the intercluster logical interfaces (LIFs) on the peer cluster.
- Parameters:
peerAddresses- The IP addresses of the intercluster logical interfaces (LIFs) on the peer cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerAddresses
The IP addresses of the intercluster logical interfaces (LIFs) on the peer cluster.
- Parameters:
peerAddresses- The IP addresses of the intercluster logical interfaces (LIFs) on the peer cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerClusterName
The name that the file system uses to identify the peer cluster.
- Parameters:
peerClusterName- The name that the file system uses to identify the peer cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passphraseSecretArn
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the cluster peering passphrase.
- Parameters:
passphraseSecretArn- The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the cluster peering passphrase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedSvmMode
Indicates which SVMs on the file system are preauthorized for SVM peering with the peer cluster.
- Parameters:
allowedSvmMode- Indicates which SVMs on the file system are preauthorized for SVM peering with the peer cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allowedSvmMode
Indicates which SVMs on the file system are preauthorized for SVM peering with the peer cluster.
- Parameters:
allowedSvmMode- Indicates which SVMs on the file system are preauthorized for SVM peering with the peer cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allowedSvmIds
The IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster, if
AllowedSvmModeisSPECIFIED.- Parameters:
allowedSvmIds- The IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster, ifAllowedSvmModeisSPECIFIED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedSvmIds
The IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster, if
AllowedSvmModeisSPECIFIED.- Parameters:
allowedSvmIds- The IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster, ifAllowedSvmModeisSPECIFIED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the connection to the peer cluster.
- Parameters:
status- The status of the connection to the peer cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uuid
The cluster peer's universally unique identifier (UUID).
- Parameters:
uuid- The cluster peer's universally unique identifier (UUID).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationStatus
The authentication status of the cluster peer relationship.
- Parameters:
authenticationStatus- The authentication status of the cluster peer relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationStatus
default ClusterPeer.Builder authenticationStatus(Consumer<ClusterPeerAuthenticationStatus.Builder> authenticationStatus) The authentication status of the cluster peer relationship.
This is a convenience method that creates an instance of theClusterPeerAuthenticationStatus.Builderavoiding the need to create one manually viaClusterPeerAuthenticationStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthenticationStatus(ClusterPeerAuthenticationStatus).- Parameters:
authenticationStatus- a consumer that will call methods onClusterPeerAuthenticationStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-