Interface ClusterPeer.Builder

  • Method Details

    • resourceARN

      ClusterPeer.Builder resourceARN(String 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

      ClusterPeer.Builder clusterPeerId(String 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

      ClusterPeer.Builder fileSystemId(String 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

      ClusterPeer.Builder lifecycle(String 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

      ClusterPeer.Builder lifecycleTransitionReason(LifecycleTransitionReason 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 the LifecycleTransitionReason.Builder avoiding the need to create one manually via LifecycleTransitionReason.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lifecycleTransitionReason(LifecycleTransitionReason).

      Parameters:
      lifecycleTransitionReason - a consumer that will call methods on LifecycleTransitionReason.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

      ClusterPeer.Builder tags(Tag... 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • peerAddresses

      ClusterPeer.Builder peerAddresses(Collection<String> 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

      ClusterPeer.Builder peerAddresses(String... 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

      ClusterPeer.Builder peerClusterName(String 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

      ClusterPeer.Builder passphraseSecretArn(String 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

      ClusterPeer.Builder allowedSvmMode(String 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

      ClusterPeer.Builder allowedSvmMode(AllowedSvmMode 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

      ClusterPeer.Builder allowedSvmIds(Collection<String> allowedSvmIds)

      The IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster, if AllowedSvmMode is SPECIFIED.

      Parameters:
      allowedSvmIds - The IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster, if AllowedSvmMode is SPECIFIED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedSvmIds

      ClusterPeer.Builder allowedSvmIds(String... allowedSvmIds)

      The IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster, if AllowedSvmMode is SPECIFIED.

      Parameters:
      allowedSvmIds - The IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster, if AllowedSvmMode is SPECIFIED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      ClusterPeer.Builder status(String 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

      ClusterPeer.Builder authenticationStatus(ClusterPeerAuthenticationStatus 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 the ClusterPeerAuthenticationStatus.Builder avoiding the need to create one manually via ClusterPeerAuthenticationStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to authenticationStatus(ClusterPeerAuthenticationStatus).

      Parameters:
      authenticationStatus - a consumer that will call methods on ClusterPeerAuthenticationStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: