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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeLocationNfsResponse.BuildercreationTime(Instant creationTime)The time when the NFS location was created.DescribeLocationNfsResponse.BuilderlocationArn(String locationArn)The ARN of the NFS location.DescribeLocationNfsResponse.BuilderlocationUri(String locationUri)The URL of the NFS location.default DescribeLocationNfsResponse.BuildermountOptions(Consumer<NfsMountOptions.Builder> mountOptions)The mount options that DataSync uses to mount your NFS file server.DescribeLocationNfsResponse.BuildermountOptions(NfsMountOptions mountOptions)The mount options that DataSync uses to mount your NFS file server.default DescribeLocationNfsResponse.BuilderonPremConfig(Consumer<OnPremConfig.Builder> onPremConfig)Sets the value of the OnPremConfig property for this object.DescribeLocationNfsResponse.BuilderonPremConfig(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 Detail
-
locationArn
DescribeLocationNfsResponse.Builder locationArn(String 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
DescribeLocationNfsResponse.Builder locationUri(String locationUri)
The URL of the NFS location.
- Parameters:
locationUri- The URL of the NFS location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremConfig
DescribeLocationNfsResponse.Builder onPremConfig(OnPremConfig 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.Builderavoiding the need to create one manually viaOnPremConfig.builder().When the
Consumercompletes,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:
onPremConfig(OnPremConfig)
-
mountOptions
DescribeLocationNfsResponse.Builder mountOptions(NfsMountOptions 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.Builderavoiding the need to create one manually viaNfsMountOptions.builder().When the
Consumercompletes,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:
mountOptions(NfsMountOptions)
-
creationTime
DescribeLocationNfsResponse.Builder creationTime(Instant 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.
-
-