Interface CreateLocationFsxOntapRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLocationFsxOntapRequest.Builder,
,CreateLocationFsxOntapRequest> DataSyncRequest.Builder
,SdkBuilder<CreateLocationFsxOntapRequest.Builder,
,CreateLocationFsxOntapRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLocationFsxOntapRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.protocol
(Consumer<FsxProtocol.Builder> protocol) Sets the value of the Protocol property for this object.protocol
(FsxProtocol protocol) Sets the value of the Protocol property for this object.securityGroupArns
(String... securityGroupArns) Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.securityGroupArns
(Collection<String> securityGroupArns) Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.storageVirtualMachineArn
(String storageVirtualMachineArn) Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.subdirectory
(String subdirectory) Specifies a path to the file share in the SVM where you want to transfer data to or from.tags
(Collection<TagListEntry> tags) Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.tags
(Consumer<TagListEntry.Builder>... tags) Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.tags
(TagListEntry... tags) Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.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, sdkFieldNameToField, sdkFields
-
Method Details
-
protocol
Sets the value of the Protocol property for this object.- Parameters:
protocol
- The new value for the Protocol property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
Sets the value of the Protocol property for this object. 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
Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.
The security groups must allow outbound traffic on the following ports (depending on the protocol you use):
-
Network File System (NFS): TCP ports 111, 635, and 2049
-
Server Message Block (SMB): TCP port 445
Your file system's security groups must also allow inbound traffic on the same ports.
- Parameters:
securityGroupArns
- Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.The security groups must allow outbound traffic on the following ports (depending on the protocol you use):
-
Network File System (NFS): TCP ports 111, 635, and 2049
-
Server Message Block (SMB): TCP port 445
Your file system's security groups must also allow inbound traffic on the same ports.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
securityGroupArns
Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.
The security groups must allow outbound traffic on the following ports (depending on the protocol you use):
-
Network File System (NFS): TCP ports 111, 635, and 2049
-
Server Message Block (SMB): TCP port 445
Your file system's security groups must also allow inbound traffic on the same ports.
- Parameters:
securityGroupArns
- Specifies the Amazon EC2 security groups that provide access to your file system's preferred subnet.The security groups must allow outbound traffic on the following ports (depending on the protocol you use):
-
Network File System (NFS): TCP ports 111, 635, and 2049
-
Server Message Block (SMB): TCP port 445
Your file system's security groups must also allow inbound traffic on the same ports.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
storageVirtualMachineArn
Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.
- Parameters:
storageVirtualMachineArn
- Specifies the ARN of the storage virtual machine (SVM) in your file system where you want to copy data to or from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subdirectory
Specifies a path to the file share in the SVM where you want to transfer data to or from.
You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares). For example, your mount path might be
/vol1
,/vol1/tree1
, or/share1
.Don't specify a junction path in the SVM's root volume. For more information, see Managing FSx for ONTAP storage virtual machines in the Amazon FSx for NetApp ONTAP User Guide.
- Parameters:
subdirectory
- Specifies a path to the file share in the SVM where you want to transfer data to or from.You can specify a junction path (also known as a mount point), qtree path (for NFS file shares), or share name (for SMB file shares). For example, your mount path might be
/vol1
,/vol1/tree1
, or/share1
.Don't specify a junction path in the SVM's root volume. For more information, see Managing FSx for ONTAP storage virtual machines in the Amazon FSx for NetApp ONTAP User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
- Parameters:
tags
- Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
- Parameters:
tags
- Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least 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
CreateLocationFsxOntapRequest.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
CreateLocationFsxOntapRequest.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.
-