Interface CreateLocationFsxOpenZfsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLocationFsxOpenZfsRequest.Builder,
,CreateLocationFsxOpenZfsRequest> DataSyncRequest.Builder
,SdkBuilder<CreateLocationFsxOpenZfsRequest.Builder,
,CreateLocationFsxOpenZfsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLocationFsxOpenZfsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfsxFilesystemArn
(String fsxFilesystemArn) The Amazon Resource Name (ARN) of the FSx for OpenZFS file system.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.protocol
(Consumer<FsxProtocol.Builder> protocol) The type of protocol that DataSync uses to access your file system.protocol
(FsxProtocol protocol) The type of protocol that DataSync uses to access your file system.securityGroupArns
(String... securityGroupArns) The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.securityGroupArns
(Collection<String> securityGroupArns) The ARNs of the security groups that are used to configure the FSx for OpenZFS file system.subdirectory
(String subdirectory) A subdirectory in the location's path that must begin with/fsx
.tags
(Collection<TagListEntry> tags) The key-value pair that represents a tag that you want to add to the resource.tags
(Consumer<TagListEntry.Builder>... tags) The key-value pair that represents a tag that you want to add to the resource.tags
(TagListEntry... tags) The key-value pair that represents a tag that you want to add to the resource.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.services.datasync.model.DataSyncRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 theFsxProtocol.Builder
avoiding the need to create one manually viaFsxProtocol.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprotocol(FsxProtocol)
.- Parameters:
protocol
- a consumer that will call methods onFsxProtocol.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theTagListEntry.Builder
avoiding the need to create one manually viaTagListEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<TagListEntry>)
.- Parameters:
tags
- a consumer that will call methods onTagListEntry.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLocationFsxOpenZfsRequest.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.
-