Interface CreateStorageVirtualMachinePeerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateStorageVirtualMachinePeerRequest.Builder,,CreateStorageVirtualMachinePeerRequest> FSxRequest.Builder,SdkBuilder<CreateStorageVirtualMachinePeerRequest.Builder,,CreateStorageVirtualMachinePeerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateStorageVirtualMachinePeerRequest
@Mutable
@NotThreadSafe
public static interface CreateStorageVirtualMachinePeerRequest.Builder
extends FSxRequest.Builder, SdkPojo, CopyableBuilder<CreateStorageVirtualMachinePeerRequest.Builder,CreateStorageVirtualMachinePeerRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplications(Collection<StorageVirtualMachinePeerApplication> applications) Specifies the applications that the SVM peer relationship authorizes.applications(StorageVirtualMachinePeerApplication... applications) Specifies the applications that the SVM peer relationship authorizes.applicationsWithStrings(String... applications) Specifies the applications that the SVM peer relationship authorizes.applicationsWithStrings(Collection<String> applications) Specifies the applications that the SVM peer relationship authorizes.clientRequestToken(String clientRequestToken) Sets the value of the ClientRequestToken property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.peerClusterName(String peerClusterName) Specifies the name of the peer cluster that the peer SVM is on.peerSvmAlias(String peerSvmAlias) Specifies the name that the local cluster uses to identify the peer SVM.peerSvmName(String peerSvmName) Specifies the name of the SVM to peer with.storageVirtualMachineId(String storageVirtualMachineId) Specifies the ID of the SVM on which to create the SVM peer relationship.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.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.fsx.model.FSxRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientRequestToken
Sets the value of the ClientRequestToken property for this object.- Parameters:
clientRequestToken- The new value for the ClientRequestToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageVirtualMachineId
CreateStorageVirtualMachinePeerRequest.Builder storageVirtualMachineId(String storageVirtualMachineId) Specifies the ID of the SVM on which to create the SVM peer relationship.
- Parameters:
storageVirtualMachineId- Specifies the ID of the SVM on which to create the SVM peer relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerSvmName
Specifies the name of the SVM to peer with.
- Parameters:
peerSvmName- Specifies the name of the SVM to peer with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerClusterName
Specifies the name of the peer cluster that the peer SVM is on.
- Parameters:
peerClusterName- Specifies 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
CreateStorageVirtualMachinePeerRequest.Builder applicationsWithStrings(Collection<String> applications) Specifies the applications that the SVM peer relationship authorizes.
- Parameters:
applications- Specifies the applications that the SVM peer relationship authorizes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationsWithStrings
Specifies the applications that the SVM peer relationship authorizes.
- Parameters:
applications- Specifies the applications that the SVM peer relationship authorizes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applications
CreateStorageVirtualMachinePeerRequest.Builder applications(Collection<StorageVirtualMachinePeerApplication> applications) Specifies the applications that the SVM peer relationship authorizes.
- Parameters:
applications- Specifies the applications that the SVM peer relationship authorizes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applications
CreateStorageVirtualMachinePeerRequest.Builder applications(StorageVirtualMachinePeerApplication... applications) Specifies the applications that the SVM peer relationship authorizes.
- Parameters:
applications- Specifies the applications that the SVM peer relationship authorizes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerSvmAlias
Specifies the name that the local cluster uses to identify the peer SVM.
- Parameters:
peerSvmAlias- Specifies 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.
-
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:
-
overrideConfiguration
CreateStorageVirtualMachinePeerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateStorageVirtualMachinePeerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-