Interface AssociateFileSystemRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateFileSystemRequest.Builder,
,AssociateFileSystemRequest> SdkBuilder<AssociateFileSystemRequest.Builder,
,AssociateFileSystemRequest> SdkPojo
,SdkRequest.Builder
,StorageGatewayRequest.Builder
- Enclosing class:
AssociateFileSystemRequest
-
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.clientToken
(String clientToken) A unique string value that you supply that is used by the FSx File Gateway to ensure idempotent file system association creation.endpointNetworkConfiguration
(Consumer<EndpointNetworkConfiguration.Builder> endpointNetworkConfiguration) Specifies the network configuration information for the gateway associated with the Amazon FSx file system.endpointNetworkConfiguration
(EndpointNetworkConfiguration endpointNetworkConfiguration) Specifies the network configuration information for the gateway associated with the Amazon FSx file system.gatewayARN
(String gatewayARN) Sets the value of the GatewayARN property for this object.locationARN
(String locationARN) The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with the FSx File Gateway.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.tags
(Collection<Tag> tags) A list of up to 50 tags that can be assigned to the file system association.tags
(Consumer<Tag.Builder>... tags) A list of up to 50 tags that can be assigned to the file system association.A list of up to 50 tags that can be assigned to the file system association.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
-
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.
-
clientToken
A unique string value that you supply that is used by the FSx File Gateway to ensure idempotent file system association creation.
- Parameters:
clientToken
- A unique string value that you supply that is used by the FSx File Gateway to ensure idempotent file system association creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayARN
Sets the value of the GatewayARN property for this object.- Parameters:
gatewayARN
- The new value for the GatewayARN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locationARN
The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with the FSx File Gateway.
- Parameters:
locationARN
- The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with the FSx File Gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of up to 50 tags that can be assigned to the file system association. Each tag is a key-value pair.
- Parameters:
tags
- A list of up to 50 tags that can be assigned to the file system association. Each tag is a key-value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of up to 50 tags that can be assigned to the file system association. Each tag is a key-value pair.
- Parameters:
tags
- A list of up to 50 tags that can be assigned to the file system association. Each tag is a key-value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of up to 50 tags that can be assigned to the file system association. Each tag is a key-value pair.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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:
-
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 AssociateFileSystemRequest.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:
-
endpointNetworkConfiguration
AssociateFileSystemRequest.Builder endpointNetworkConfiguration(EndpointNetworkConfiguration endpointNetworkConfiguration) Specifies the network configuration information for the gateway associated with the Amazon FSx file system.
If multiple file systems are associated with this gateway, this parameter's
IpAddresses
field is required.- Parameters:
endpointNetworkConfiguration
- Specifies the network configuration information for the gateway associated with the Amazon FSx file system.If multiple file systems are associated with this gateway, this parameter's
IpAddresses
field is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointNetworkConfiguration
default AssociateFileSystemRequest.Builder endpointNetworkConfiguration(Consumer<EndpointNetworkConfiguration.Builder> endpointNetworkConfiguration) Specifies the network configuration information for the gateway associated with the Amazon FSx file system.
If multiple file systems are associated with this gateway, this parameter's
IpAddresses
field is required.EndpointNetworkConfiguration.Builder
avoiding the need to create one manually viaEndpointNetworkConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpointNetworkConfiguration(EndpointNetworkConfiguration)
.- Parameters:
endpointNetworkConfiguration
- a consumer that will call methods onEndpointNetworkConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AssociateFileSystemRequest.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
AssociateFileSystemRequest.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.
-