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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaFsxUpdateProtocol.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-