Interface CreateClusterPeerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateClusterPeerRequest.Builder,,CreateClusterPeerRequest> FSxRequest.Builder,SdkBuilder<CreateClusterPeerRequest.Builder,,CreateClusterPeerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateClusterPeerRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowedSvmIds(String... allowedSvmIds) Specifies the IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster.allowedSvmIds(Collection<String> allowedSvmIds) Specifies the IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster.allowedSvmMode(String allowedSvmMode) Specifies which SVMs on the file system are preauthorized for SVM peering with the peer cluster.allowedSvmMode(AllowedSvmMode allowedSvmMode) Specifies which SVMs on the file system are preauthorized for SVM peering with the peer cluster.clientRequestToken(String clientRequestToken) Sets the value of the ClientRequestToken property for this object.fileSystemId(String fileSystemId) Specifies the ID of the Amazon FSx for NetApp ONTAP file system on which to create the cluster peer relationship.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.passphraseSecretArn(String passphraseSecretArn) Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the cluster peering passphrase.peerAddresses(String... peerAddresses) Specifies the IP addresses of the intercluster logical interfaces (LIFs) on the peer cluster.peerAddresses(Collection<String> peerAddresses) Specifies the IP addresses of the intercluster logical interfaces (LIFs) on the peer cluster.peerClusterName(String peerClusterName) Specifies the name that the file system uses to identify 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.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.
-
fileSystemId
Specifies the ID of the Amazon FSx for NetApp ONTAP file system on which to create the cluster peer relationship.
- Parameters:
fileSystemId- Specifies the ID of the Amazon FSx for NetApp ONTAP file system on which to create the cluster peer relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerAddresses
Specifies the IP addresses of the intercluster logical interfaces (LIFs) on the peer cluster.
- Parameters:
peerAddresses- Specifies 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
Specifies the IP addresses of the intercluster logical interfaces (LIFs) on the peer cluster.
- Parameters:
peerAddresses- Specifies 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.
-
passphraseSecretArn
Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the cluster peering passphrase. Store the passphrase as a plaintext secret value, not as a key-value pair. The secret must be in the same Amazon Web Services Region as the file system. You must use the same passphrase when you create the cluster peer relationship on the peer cluster.
- Parameters:
passphraseSecretArn- Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the cluster peering passphrase. Store the passphrase as a plaintext secret value, not as a key-value pair. The secret must be in the same Amazon Web Services Region as the file system. You must use the same passphrase when you create the cluster peer relationship on the peer cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerClusterName
Specifies the name that the file system uses to identify the peer cluster.
- Parameters:
peerClusterName- Specifies 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.
-
allowedSvmMode
Specifies which SVMs on the file system are preauthorized for SVM peering with the peer cluster.
-
ALL– All SVMs on the file system are preauthorized. You can't specifyAllowedSvmIdsalong with this property. -
NONE– No SVMs on the file system are preauthorized. You can't specifyAllowedSvmIdsalong with this property. -
SPECIFIED– Only the SVMs inAllowedSvmIdsare preauthorized. You must specifyAllowedSvmIdsalong with this property.
- Parameters:
allowedSvmMode- Specifies which SVMs on the file system are preauthorized for SVM peering with the peer cluster.-
ALL– All SVMs on the file system are preauthorized. You can't specifyAllowedSvmIdsalong with this property. -
NONE– No SVMs on the file system are preauthorized. You can't specifyAllowedSvmIdsalong with this property. -
SPECIFIED– Only the SVMs inAllowedSvmIdsare preauthorized. You must specifyAllowedSvmIdsalong with this property.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
allowedSvmMode
Specifies which SVMs on the file system are preauthorized for SVM peering with the peer cluster.
-
ALL– All SVMs on the file system are preauthorized. You can't specifyAllowedSvmIdsalong with this property. -
NONE– No SVMs on the file system are preauthorized. You can't specifyAllowedSvmIdsalong with this property. -
SPECIFIED– Only the SVMs inAllowedSvmIdsare preauthorized. You must specifyAllowedSvmIdsalong with this property.
- Parameters:
allowedSvmMode- Specifies which SVMs on the file system are preauthorized for SVM peering with the peer cluster.-
ALL– All SVMs on the file system are preauthorized. You can't specifyAllowedSvmIdsalong with this property. -
NONE– No SVMs on the file system are preauthorized. You can't specifyAllowedSvmIdsalong with this property. -
SPECIFIED– Only the SVMs inAllowedSvmIdsare preauthorized. You must specifyAllowedSvmIdsalong with this property.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
allowedSvmIds
Specifies the IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster. You can specify
AllowedSvmIdsonly whenAllowedSvmModeisSPECIFIED.- Parameters:
allowedSvmIds- Specifies the IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster. You can specifyAllowedSvmIdsonly whenAllowedSvmModeisSPECIFIED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedSvmIds
Specifies the IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster. You can specify
AllowedSvmIdsonly whenAllowedSvmModeisSPECIFIED.- Parameters:
allowedSvmIds- Specifies the IDs of the SVMs on the file system that are preauthorized for SVM peering with the peer cluster. You can specifyAllowedSvmIdsonly whenAllowedSvmModeisSPECIFIED.- 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
CreateClusterPeerRequest.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
CreateClusterPeerRequest.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.
-