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 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

      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

      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

      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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the CacheAttributes.Builder avoiding the need to create one manually via CacheAttributes.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cacheAttributes(CacheAttributes).

      Parameters:
      cacheAttributes - a consumer that will call methods on CacheAttributes.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.

      This is a convenience method that creates an instance of the EndpointNetworkConfiguration.Builder avoiding the need to create one manually via EndpointNetworkConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to endpointNetworkConfiguration(EndpointNetworkConfiguration).

      Parameters:
      endpointNetworkConfiguration - a consumer that will call methods on EndpointNetworkConfiguration.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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.