Interface UpdateFileSystemAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateFileSystemAssociationRequest.Builder,
,UpdateFileSystemAssociationRequest> SdkBuilder<UpdateFileSystemAssociationRequest.Builder,
,UpdateFileSystemAssociationRequest> SdkPojo
,SdkRequest.Builder
,StorageGatewayRequest.Builder
- Enclosing class:
UpdateFileSystemAssociationRequest
public static interface UpdateFileSystemAssociationRequest.Builder
extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<UpdateFileSystemAssociationRequest.Builder,UpdateFileSystemAssociationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionauditDestinationARN
(String auditDestinationARN) The Amazon Resource Name (ARN) of the storage used for the audit logs.cacheAttributes
(Consumer<CacheAttributes.Builder> cacheAttributes) Sets the value of the CacheAttributes property for this object.cacheAttributes
(CacheAttributes cacheAttributes) Sets the value of the CacheAttributes property for this object.fileSystemAssociationARN
(String fileSystemAssociationARN) The Amazon Resource Name (ARN) of the file system association that you want to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The password of the user credential.The user name of the user credential that has permission to access the root share D$ of the Amazon FSx file system.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest.Builder
build
-
Method Details
-
fileSystemAssociationARN
UpdateFileSystemAssociationRequest.Builder fileSystemAssociationARN(String fileSystemAssociationARN) The Amazon Resource Name (ARN) of the file system association that you want to update.
- Parameters:
fileSystemAssociationARN
- The Amazon Resource Name (ARN) of the file system association that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userName
The user name of the user credential that has permission to access the root share D$ of the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin user group.
- Parameters:
userName
- The user name of the user credential that has permission to access the root share D$ of the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin user group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
password
The password of the user credential.
- Parameters:
password
- The password of the user credential.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auditDestinationARN
The Amazon Resource Name (ARN) of the storage used for the audit logs.
- Parameters:
auditDestinationARN
- The Amazon Resource Name (ARN) of the storage used for the audit logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheAttributes
Sets the value of the CacheAttributes property for this object.- Parameters:
cacheAttributes
- The new value for the CacheAttributes property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheAttributes
default UpdateFileSystemAssociationRequest.Builder cacheAttributes(Consumer<CacheAttributes.Builder> cacheAttributes) Sets the value of the CacheAttributes property for this object. This is a convenience method that creates an instance of theCacheAttributes.Builder
avoiding the need to create one manually viaCacheAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocacheAttributes(CacheAttributes)
.- Parameters:
cacheAttributes
- a consumer that will call methods onCacheAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateFileSystemAssociationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateFileSystemAssociationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-