Interface AssociateFileSystemRequest.Builder

    • 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 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).

        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:
        #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.
      • 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.