Class RootSquashConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.lustrefilestorage.model.RootSquashConfiguration.Builder
-
- Enclosing class:
- RootSquashConfiguration
public static class RootSquashConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RootSquashConfigurationbuild()RootSquashConfiguration.BuilderclientExceptions(List<String> clientExceptions)A list of NIDs allowed with this lustre file system not to be squashed.RootSquashConfiguration.Buildercopy(RootSquashConfiguration model)RootSquashConfiguration.BuilderidentitySquash(RootSquashConfiguration.IdentitySquash identitySquash)Used when clients accessing the Lustre file system have their UID and GID remapped to squashUid and squashGid.RootSquashConfiguration.BuildersquashGid(Long squashGid)The GID value to remap to when squashing a client GID.RootSquashConfiguration.BuildersquashUid(Long squashUid)The UID value to remap to when squashing a client UID.
-
-
-
Method Detail
-
identitySquash
public RootSquashConfiguration.Builder identitySquash(RootSquashConfiguration.IdentitySquash identitySquash)
Used when clients accessing the Lustre file system have their UID and GID remapped to squashUid and squashGid.If ROOT, only the root user and group (UID/GID 0) are remapped; if NONE, no remapping is done. If unspecified, defaults to NONE.
- Parameters:
identitySquash- the value to set- Returns:
- this builder
-
squashUid
public RootSquashConfiguration.Builder squashUid(Long squashUid)
The UID value to remap to when squashing a client UID.See identitySquash for more details. If unspecified, defaults to 65534.
- Parameters:
squashUid- the value to set- Returns:
- this builder
-
squashGid
public RootSquashConfiguration.Builder squashGid(Long squashGid)
The GID value to remap to when squashing a client GID.See identitySquash for more details. If unspecified, defaults to 65534.
- Parameters:
squashGid- the value to set- Returns:
- this builder
-
clientExceptions
public RootSquashConfiguration.Builder clientExceptions(List<String> clientExceptions)
A list of NIDs allowed with this lustre file system not to be squashed.A maximum of 10 is allowed.
- Parameters:
clientExceptions- the value to set- Returns:
- this builder
-
build
public RootSquashConfiguration build()
-
copy
public RootSquashConfiguration.Builder copy(RootSquashConfiguration model)
-
-