Interface UpdateLocationFsxOntapRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateLocationFsxOntapRequest.Builder,
,UpdateLocationFsxOntapRequest> DataSyncRequest.Builder
,SdkBuilder<UpdateLocationFsxOntapRequest.Builder,
,UpdateLocationFsxOntapRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateLocationFsxOntapRequest
-
Method Summary
Modifier and TypeMethodDescriptionlocationArn
(String locationArn) Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP transfer location that you're updating.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.protocol
(Consumer<FsxUpdateProtocol.Builder> protocol) Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.protocol
(FsxUpdateProtocol protocol) Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.subdirectory
(String subdirectory) Specifies a path to the file share in the storage virtual machine (SVM) where you want to transfer data to or from.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
-
locationArn
Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP transfer location that you're updating.
- Parameters:
locationArn
- Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP transfer location that you're updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.
- Parameters:
protocol
- Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
default UpdateLocationFsxOntapRequest.Builder protocol(Consumer<FsxUpdateProtocol.Builder> protocol) Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.
This is a convenience method that creates an instance of theFsxUpdateProtocol.Builder
avoiding the need to create one manually viaFsxUpdateProtocol.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprotocol(FsxUpdateProtocol)
.- Parameters:
protocol
- a consumer that will call methods onFsxUpdateProtocol.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subdirectory
Specifies a path to the file share in the storage virtual machine (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 storage virtual machine (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.
-
overrideConfiguration
UpdateLocationFsxOntapRequest.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
UpdateLocationFsxOntapRequest.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.
-