Interface OpenZFSFileSystemIdentity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OpenZFSFileSystemIdentity.Builder,
,OpenZFSFileSystemIdentity> SdkBuilder<OpenZFSFileSystemIdentity.Builder,
,OpenZFSFileSystemIdentity> SdkPojo
- Enclosing class:
OpenZFSFileSystemIdentity
@Mutable
@NotThreadSafe
public static interface OpenZFSFileSystemIdentity.Builder
extends SdkPojo, CopyableBuilder<OpenZFSFileSystemIdentity.Builder,OpenZFSFileSystemIdentity>
-
Method Summary
Modifier and TypeMethodDescriptionposixUser
(Consumer<OpenZFSPosixFileSystemUser.Builder> posixUser) Specifies the UID and GIDs of the file system POSIX user.posixUser
(OpenZFSPosixFileSystemUser posixUser) Specifies the UID and GIDs of the file system POSIX user.Specifies the FSx for OpenZFS user identity type, accepts onlyPOSIX
.Specifies the FSx for OpenZFS user identity type, accepts onlyPOSIX
.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, sdkFieldNameToField, sdkFields
-
Method Details
-
type
Specifies the FSx for OpenZFS user identity type, accepts only
POSIX
.- Parameters:
type
- Specifies the FSx for OpenZFS user identity type, accepts onlyPOSIX
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Specifies the FSx for OpenZFS user identity type, accepts only
POSIX
.- Parameters:
type
- Specifies the FSx for OpenZFS user identity type, accepts onlyPOSIX
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
posixUser
Specifies the UID and GIDs of the file system POSIX user.
- Parameters:
posixUser
- Specifies the UID and GIDs of the file system POSIX user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
posixUser
default OpenZFSFileSystemIdentity.Builder posixUser(Consumer<OpenZFSPosixFileSystemUser.Builder> posixUser) Specifies the UID and GIDs of the file system POSIX user.
This is a convenience method that creates an instance of theOpenZFSPosixFileSystemUser.Builder
avoiding the need to create one manually viaOpenZFSPosixFileSystemUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toposixUser(OpenZFSPosixFileSystemUser)
.- Parameters:
posixUser
- a consumer that will call methods onOpenZFSPosixFileSystemUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-