Interface StorageVirtualMachinePeer.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StorageVirtualMachinePeer.Builder,,StorageVirtualMachinePeer> SdkBuilder<StorageVirtualMachinePeer.Builder,,StorageVirtualMachinePeer> SdkPojo
- Enclosing class:
StorageVirtualMachinePeer
-
Method Summary
Modifier and TypeMethodDescriptionapplications(Collection<StorageVirtualMachinePeerApplication> applications) The applications that the SVM peer relationship authorizes.applications(StorageVirtualMachinePeerApplication... applications) The applications that the SVM peer relationship authorizes.applicationsWithStrings(String... applications) The applications that the SVM peer relationship authorizes.applicationsWithStrings(Collection<String> applications) The applications that the SVM peer relationship authorizes.fileSystemId(String fileSystemId) The globally unique ID of the file system, assigned by Amazon FSx.The lifecycle status of the SVM peer can be one of the following:lifecycle(StorageVirtualMachinePeerLifecycle lifecycle) The lifecycle status of the SVM peer can be one of the following:lifecycleTransitionReason(Consumer<LifecycleTransitionReason.Builder> lifecycleTransitionReason) The reason why the SVM peer lifecycle status changed.lifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason) The reason why the SVM peer lifecycle status changed.peerClusterName(String peerClusterName) The name of the peer cluster that the peer SVM is on.peerSvmAlias(String peerSvmAlias) The name that the local cluster uses to identify the peer SVM.peerSvmName(String peerSvmName) The name of the SVM on the peer cluster.resourceARN(String resourceARN) Sets the value of the ResourceARN property for this object.The state of the SVM peer relationship in ONTAP can be one of the following:The state of the SVM peer relationship in ONTAP can be one of the following:storageVirtualMachineId(String storageVirtualMachineId) The ID of the SVM on the file system that the SVM peer relationship belongs to.storageVirtualMachinePeerId(String storageVirtualMachinePeerId) The system-generated, unique ID of the SVM peer.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 SVM 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.
-
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
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
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 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:
-
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
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
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
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
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
StorageVirtualMachinePeer.Builder applications(Collection<StorageVirtualMachinePeerApplication> 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
StorageVirtualMachinePeer.Builder applications(StorageVirtualMachinePeerApplication... 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.
-