Interface DescribeLocationNfsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeLocationNfsResponse.Builder,
,DescribeLocationNfsResponse> DataSyncResponse.Builder
,SdkBuilder<DescribeLocationNfsResponse.Builder,
,DescribeLocationNfsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeLocationNfsResponse
public static interface DescribeLocationNfsResponse.Builder
extends DataSyncResponse.Builder, SdkPojo, CopyableBuilder<DescribeLocationNfsResponse.Builder,DescribeLocationNfsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The time when the NFS location was created.locationArn
(String locationArn) The ARN of the NFS location.locationUri
(String locationUri) The URI of the NFS location.mountOptions
(Consumer<NfsMountOptions.Builder> mountOptions) The mount options that DataSync uses to mount your NFS file server.mountOptions
(NfsMountOptions mountOptions) The mount options that DataSync uses to mount your NFS file server.onPremConfig
(Consumer<OnPremConfig.Builder> onPremConfig) Sets the value of the OnPremConfig property for this object.onPremConfig
(OnPremConfig onPremConfig) Sets the value of the OnPremConfig property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
locationArn
The ARN of the NFS location.
- Parameters:
locationArn
- The ARN of the NFS location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locationUri
The URI of the NFS location.
- Parameters:
locationUri
- The URI of the NFS location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremConfig
Sets the value of the OnPremConfig property for this object.- Parameters:
onPremConfig
- The new value for the OnPremConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremConfig
default DescribeLocationNfsResponse.Builder onPremConfig(Consumer<OnPremConfig.Builder> onPremConfig) Sets the value of the OnPremConfig property for this object. This is a convenience method that creates an instance of theOnPremConfig.Builder
avoiding the need to create one manually viaOnPremConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toonPremConfig(OnPremConfig)
.- Parameters:
onPremConfig
- a consumer that will call methods onOnPremConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mountOptions
The mount options that DataSync uses to mount your NFS file server.
- Parameters:
mountOptions
- The mount options that DataSync uses to mount your NFS file server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountOptions
default DescribeLocationNfsResponse.Builder mountOptions(Consumer<NfsMountOptions.Builder> mountOptions) The mount options that DataSync uses to mount your NFS file server.
This is a convenience method that creates an instance of theNfsMountOptions.Builder
avoiding the need to create one manually viaNfsMountOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomountOptions(NfsMountOptions)
.- Parameters:
mountOptions
- a consumer that will call methods onNfsMountOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time when the NFS location was created.
- Parameters:
creationTime
- The time when the NFS location was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-