public static class CreateExportDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateExportDetails |
build() |
CreateExportDetails.Builder |
copy(CreateExportDetails model) |
CreateExportDetails.Builder |
exportOptions(List<ClientOptions> exportOptions)
Export options for the new export.
|
CreateExportDetails.Builder |
exportSetId(String exportSetId)
The OCID of
this export’s export set.
|
CreateExportDetails.Builder |
fileSystemId(String fileSystemId)
The OCID of
this export’s file system.
|
CreateExportDetails.Builder |
isIdmapGroupsForSysAuth(Boolean isIdmapGroupsForSysAuth)
Whether or not the export should use ID mapping for Unix groups rather than the group
list provided within an NFS request’s RPC header.
|
CreateExportDetails.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
CreateExportDetails.Builder |
path(String path)
Path used to access the associated file system.
|
public CreateExportDetails.Builder exportOptions(List<ClientOptions> exportOptions)
Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to:
[ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ]
For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients.
*Note:** Mount targets do not have Internet-routable IP addresses. Therefore they will
not be reachable from the Internet, even if an associated ClientOptions
item has
a source of 0.0.0.0/0
.
*If set to the empty array then the export will not be visible to any clients.**
The export's exportOptions
can be changed after creation using the UpdateExport
operation.
exportOptions
- the value to setpublic CreateExportDetails.Builder exportSetId(String exportSetId)
The OCID of this export’s export set.
exportSetId
- the value to setpublic CreateExportDetails.Builder fileSystemId(String fileSystemId)
The OCID of this export’s file system.
fileSystemId
- the value to setpublic CreateExportDetails.Builder path(String path)
Path used to access the associated file system.
Avoid entering confidential information.
Example: /mediafiles
path
- the value to setpublic CreateExportDetails.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic CreateExportDetails.Builder isIdmapGroupsForSysAuth(Boolean isIdmapGroupsForSysAuth)
Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request’s RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.
isIdmapGroupsForSysAuth
- the value to setpublic CreateExportDetails build()
public CreateExportDetails.Builder copy(CreateExportDetails model)
Copyright © 2016–2024. All rights reserved.