Interface FsxProtocolNfs.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FsxProtocolNfs.Builder,
,FsxProtocolNfs> SdkBuilder<FsxProtocolNfs.Builder,
,FsxProtocolNfs> SdkPojo
- Enclosing class:
FsxProtocolNfs
public static interface FsxProtocolNfs.Builder
extends SdkPojo, CopyableBuilder<FsxProtocolNfs.Builder,FsxProtocolNfs>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FsxProtocolNfs.Builder
mountOptions
(Consumer<NfsMountOptions.Builder> mountOptions) Sets the value of the MountOptions property for this object.mountOptions
(NfsMountOptions mountOptions) Sets the value of the MountOptions property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
mountOptions
Sets the value of the MountOptions property for this object.- Parameters:
mountOptions
- The new value for the MountOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountOptions
Sets the value of the MountOptions property for this object. 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:
-