Interface StorageVirtualMachinePeer.Builder

  • Method Details

    • resourceARN

      StorageVirtualMachinePeer.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.
    • storageVirtualMachinePeerId

      StorageVirtualMachinePeer.Builder storageVirtualMachinePeerId(String storageVirtualMachinePeerId)

      The system-generated, unique ID of the SVM peer.

      Parameters:
      storageVirtualMachinePeerId - The system-generated, unique ID of the SVM peer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageVirtualMachineId

      StorageVirtualMachinePeer.Builder storageVirtualMachineId(String storageVirtualMachineId)

      The ID of the SVM on the file system that the SVM peer relationship belongs to.

      Parameters:
      storageVirtualMachineId - The ID of the SVM on the file system that the SVM peer relationship belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileSystemId

      StorageVirtualMachinePeer.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

      The lifecycle status of the SVM peer can be one of the following:

      • CREATED – The SVM peer is fully available for use.

      • CREATING – Amazon FSx is creating the SVM peer.

      • DELETING – Amazon FSx is deleting the SVM peer.

      • FAILED – Amazon FSx was unable to create the SVM peer.

      Parameters:
      lifecycle - The lifecycle status of the SVM peer can be one of the following:

      • CREATED – The SVM peer is fully available for use.

      • CREATING – Amazon FSx is creating the SVM peer.

      • DELETING – Amazon FSx is deleting the SVM peer.

      • FAILED – Amazon FSx was unable to create the SVM peer.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lifecycle

      The lifecycle status of the SVM peer can be one of the following:

      • CREATED – The SVM peer is fully available for use.

      • CREATING – Amazon FSx is creating the SVM peer.

      • DELETING – Amazon FSx is deleting the SVM peer.

      • FAILED – Amazon FSx was unable to create the SVM peer.

      Parameters:
      lifecycle - The lifecycle status of the SVM peer can be one of the following:

      • CREATED – The SVM peer is fully available for use.

      • CREATING – Amazon FSx is creating the SVM peer.

      • DELETING – Amazon FSx is deleting the SVM peer.

      • FAILED – Amazon FSx was unable to create the SVM peer.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lifecycleTransitionReason

      StorageVirtualMachinePeer.Builder lifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason)

      The reason why the SVM peer lifecycle status changed.

      Parameters:
      lifecycleTransitionReason - The reason why the SVM peer lifecycle status changed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lifecycleTransitionReason

      default StorageVirtualMachinePeer.Builder lifecycleTransitionReason(Consumer<LifecycleTransitionReason.Builder> lifecycleTransitionReason)

      The reason why the SVM 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

      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:
    • peerSvmName

      StorageVirtualMachinePeer.Builder peerSvmName(String peerSvmName)

      The name of the SVM on the peer cluster.

      Parameters:
      peerSvmName - The name of the SVM on the peer cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • peerSvmAlias

      StorageVirtualMachinePeer.Builder peerSvmAlias(String peerSvmAlias)

      The name that the local cluster uses to identify the peer SVM.

      Parameters:
      peerSvmAlias - The name that the local cluster uses to identify the peer SVM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • peerClusterName

      StorageVirtualMachinePeer.Builder peerClusterName(String peerClusterName)

      The name of the peer cluster that the peer SVM is on.

      Parameters:
      peerClusterName - The name of the peer cluster that the peer SVM is on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicationsWithStrings

      StorageVirtualMachinePeer.Builder applicationsWithStrings(Collection<String> applications)

      The applications that the SVM peer relationship authorizes. The applications can be one or more of the following:

      • SNAPMIRROR – SnapMirror replication.

      • FILE_COPY – File copy.

      • LUN_COPY – LUN copy.

      • FLEXCACHE – FlexCache.

      Parameters:
      applications - The applications that the SVM peer relationship authorizes. The applications can be one or more of the following:

      • SNAPMIRROR – SnapMirror replication.

      • FILE_COPY – File copy.

      • LUN_COPY – LUN copy.

      • FLEXCACHE – FlexCache.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicationsWithStrings

      StorageVirtualMachinePeer.Builder applicationsWithStrings(String... applications)

      The applications that the SVM peer relationship authorizes. The applications can be one or more of the following:

      • SNAPMIRROR – SnapMirror replication.

      • FILE_COPY – File copy.

      • LUN_COPY – LUN copy.

      • FLEXCACHE – FlexCache.

      Parameters:
      applications - The applications that the SVM peer relationship authorizes. The applications can be one or more of the following:

      • SNAPMIRROR – SnapMirror replication.

      • FILE_COPY – File copy.

      • LUN_COPY – LUN copy.

      • FLEXCACHE – FlexCache.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applications

      The applications that the SVM peer relationship authorizes. The applications can be one or more of the following:

      • SNAPMIRROR – SnapMirror replication.

      • FILE_COPY – File copy.

      • LUN_COPY – LUN copy.

      • FLEXCACHE – FlexCache.

      Parameters:
      applications - The applications that the SVM peer relationship authorizes. The applications can be one or more of the following:

      • SNAPMIRROR – SnapMirror replication.

      • FILE_COPY – File copy.

      • LUN_COPY – LUN copy.

      • FLEXCACHE – FlexCache.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applications

      The applications that the SVM peer relationship authorizes. The applications can be one or more of the following:

      • SNAPMIRROR – SnapMirror replication.

      • FILE_COPY – File copy.

      • LUN_COPY – LUN copy.

      • FLEXCACHE – FlexCache.

      Parameters:
      applications - The applications that the SVM peer relationship authorizes. The applications can be one or more of the following:

      • SNAPMIRROR – SnapMirror replication.

      • FILE_COPY – File copy.

      • LUN_COPY – LUN copy.

      • FLEXCACHE – FlexCache.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the SVM peer relationship in ONTAP can be one of the following:

      • PEERED – The SVM peer relationship is established.

      • INITIATED – The local cluster sent a peering request to the peer SVM.

      • PENDING – A peering request from the peer SVM is waiting for acceptance.

      • INITIALIZING – ONTAP is setting up the SVM peer relationship.

      • SUSPENDED – The SVM peer relationship is suspended.

      • REJECTED – The peering request was rejected.

      Parameters:
      state - The state of the SVM peer relationship in ONTAP can be one of the following:

      • PEERED – The SVM peer relationship is established.

      • INITIATED – The local cluster sent a peering request to the peer SVM.

      • PENDING – A peering request from the peer SVM is waiting for acceptance.

      • INITIALIZING – ONTAP is setting up the SVM peer relationship.

      • SUSPENDED – The SVM peer relationship is suspended.

      • REJECTED – The peering request was rejected.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the SVM peer relationship in ONTAP can be one of the following:

      • PEERED – The SVM peer relationship is established.

      • INITIATED – The local cluster sent a peering request to the peer SVM.

      • PENDING – A peering request from the peer SVM is waiting for acceptance.

      • INITIALIZING – ONTAP is setting up the SVM peer relationship.

      • SUSPENDED – The SVM peer relationship is suspended.

      • REJECTED – The peering request was rejected.

      Parameters:
      state - The state of the SVM peer relationship in ONTAP can be one of the following:

      • PEERED – The SVM peer relationship is established.

      • INITIATED – The local cluster sent a peering request to the peer SVM.

      • PENDING – A peering request from the peer SVM is waiting for acceptance.

      • INITIALIZING – ONTAP is setting up the SVM peer relationship.

      • SUSPENDED – The SVM peer relationship is suspended.

      • REJECTED – The peering request was rejected.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • uuid

      The SVM peer's universally unique identifier (UUID).

      Parameters:
      uuid - The SVM peer's universally unique identifier (UUID).
      Returns:
      Returns a reference to this object so that method calls can be chained together.