Interface CreateLocationFsxOpenZfsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateLocationFsxOpenZfsRequest.Builder,CreateLocationFsxOpenZfsRequest>, DataSyncRequest.Builder, SdkBuilder<CreateLocationFsxOpenZfsRequest.Builder,CreateLocationFsxOpenZfsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateLocationFsxOpenZfsRequest

public static interface CreateLocationFsxOpenZfsRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<CreateLocationFsxOpenZfsRequest.Builder,CreateLocationFsxOpenZfsRequest>
  • Method Details

    • fsxFilesystemArn

      CreateLocationFsxOpenZfsRequest.Builder fsxFilesystemArn(String fsxFilesystemArn)

      The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.

      Parameters:
      fsxFilesystemArn - The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • protocol

      The type of protocol that DataSync uses to access your file system.

      Parameters:
      protocol - The type of protocol that DataSync uses to access your file system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • protocol

      The type of protocol that DataSync uses to access your file system.

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

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

      Parameters:
      protocol - a consumer that will call methods on FsxProtocol.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • securityGroupArns

      CreateLocationFsxOpenZfsRequest.Builder securityGroupArns(Collection<String> securityGroupArns)

      The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.

      Parameters:
      securityGroupArns - The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupArns

      CreateLocationFsxOpenZfsRequest.Builder securityGroupArns(String... securityGroupArns)

      The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.

      Parameters:
      securityGroupArns - The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subdirectory

      CreateLocationFsxOpenZfsRequest.Builder subdirectory(String subdirectory)

      A subdirectory in the location's path that must begin with /fsx. DataSync uses this subdirectory to read or write data (depending on whether the file system is a source or destination location).

      Parameters:
      subdirectory - A subdirectory in the location's path that must begin with /fsx. DataSync uses this subdirectory to read or write data (depending on whether the file system is a source or destination location).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

      Parameters:
      tags - The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

      Parameters:
      tags - The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.

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

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

      Parameters:
      tags - a consumer that will call methods on TagListEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

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