Interface AssociateFileSystemRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateFileSystemRequest.Builder,AssociateFileSystemRequest>,SdkBuilder<AssociateFileSystemRequest.Builder,AssociateFileSystemRequest>,SdkPojo,SdkRequest.Builder,StorageGatewayRequest.Builder
- Enclosing class:
- AssociateFileSystemRequest
public static interface AssociateFileSystemRequest.Builder extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<AssociateFileSystemRequest.Builder,AssociateFileSystemRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssociateFileSystemRequest.BuilderauditDestinationARN(String auditDestinationARN)The Amazon Resource Name (ARN) of the storage used for the audit logs.default AssociateFileSystemRequest.BuildercacheAttributes(Consumer<CacheAttributes.Builder> cacheAttributes)Sets the value of the CacheAttributes property for this object.AssociateFileSystemRequest.BuildercacheAttributes(CacheAttributes cacheAttributes)Sets the value of the CacheAttributes property for this object.AssociateFileSystemRequest.BuilderclientToken(String clientToken)A unique string value that you supply that is used by the FSx File Gateway to ensure idempotent file system association creation.default AssociateFileSystemRequest.BuilderendpointNetworkConfiguration(Consumer<EndpointNetworkConfiguration.Builder> endpointNetworkConfiguration)Specifies the network configuration information for the gateway associated with the Amazon FSx file system.AssociateFileSystemRequest.BuilderendpointNetworkConfiguration(EndpointNetworkConfiguration endpointNetworkConfiguration)Specifies the network configuration information for the gateway associated with the Amazon FSx file system.AssociateFileSystemRequest.BuildergatewayARN(String gatewayARN)Sets the value of the GatewayARN property for this object.AssociateFileSystemRequest.BuilderlocationARN(String locationARN)The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with the FSx File Gateway.AssociateFileSystemRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AssociateFileSystemRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AssociateFileSystemRequest.Builderpassword(String password)The password of the user credential.AssociateFileSystemRequest.Buildertags(Collection<Tag> tags)A list of up to 50 tags that can be assigned to the file system association.AssociateFileSystemRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of up to 50 tags that can be assigned to the file system association.AssociateFileSystemRequest.Buildertags(Tag... tags)A list of up to 50 tags that can be assigned to the file system association.AssociateFileSystemRequest.BuilderuserName(String userName)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 Detail
-
userName
AssociateFileSystemRequest.Builder userName(String 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
AssociateFileSystemRequest.Builder password(String 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
AssociateFileSystemRequest.Builder 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.
- 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
AssociateFileSystemRequest.Builder gatewayARN(String 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
AssociateFileSystemRequest.Builder locationARN(String 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
AssociateFileSystemRequest.Builder tags(Collection<Tag> 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
AssociateFileSystemRequest.Builder tags(Tag... 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
AssociateFileSystemRequest.Builder tags(Consumer<Tag.Builder>... 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
auditDestinationARN
AssociateFileSystemRequest.Builder auditDestinationARN(String 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
AssociateFileSystemRequest.Builder cacheAttributes(CacheAttributes 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.Builderavoiding the need to create one manually viaCacheAttributes.builder().When the
Consumercompletes,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:
cacheAttributes(CacheAttributes)
-
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
IpAddressesfield 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
IpAddressesfield 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.
This is a convenience method that creates an instance of theIf multiple file systems are associated with this gateway, this parameter's
IpAddressesfield is required.EndpointNetworkConfiguration.Builderavoiding the need to create one manually viaEndpointNetworkConfiguration.builder().When the
Consumercompletes,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:
endpointNetworkConfiguration(EndpointNetworkConfiguration)
-
overrideConfiguration
AssociateFileSystemRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AssociateFileSystemRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-