Class CreateExportDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.filestorage.model.CreateExportDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20171215") public final class CreateExportDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details for creating the export.
Note: Objects should always be created or deserialized using theCreateExportDetails.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theCreateExportDetails.Builder
, which maintain a set of all explicitly set fields calledCreateExportDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateExportDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateExportDetails(List<ClientOptions> exportOptions, String exportSetId, String fileSystemId, String path, List<ResourceLock> locks, Boolean isIdmapGroupsForSysAuth)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateExportDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<ClientOptions>
getExportOptions()
Export options for the new export.String
getExportSetId()
The OCID of this export’s export set.String
getFileSystemId()
The OCID of this export’s file system.Boolean
getIsIdmapGroupsForSysAuth()
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.List<ResourceLock>
getLocks()
Locks associated with this resource.String
getPath()
Path used to access the associated file system.int
hashCode()
CreateExportDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateExportDetails
@Deprecated @ConstructorProperties({"exportOptions","exportSetId","fileSystemId","path","locks","isIdmapGroupsForSysAuth"}) public CreateExportDetails(List<ClientOptions> exportOptions, String exportSetId, String fileSystemId, String path, List<ResourceLock> locks, Boolean isIdmapGroupsForSysAuth)
Deprecated.
-
-
Method Detail
-
builder
public static CreateExportDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateExportDetails.Builder toBuilder()
-
getExportOptions
public List<ClientOptions> getExportOptions()
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.
- Returns:
- the value
-
getExportSetId
public String getExportSetId()
The OCID of this export’s export set.- Returns:
- the value
-
getFileSystemId
public String getFileSystemId()
The OCID of this export’s file system.- Returns:
- the value
-
getPath
public String getPath()
Path used to access the associated file system.Avoid entering confidential information.
Example: /mediafiles
- Returns:
- the value
-
getLocks
public List<ResourceLock> getLocks()
Locks associated with this resource.- Returns:
- the value
-
getIsIdmapGroupsForSysAuth
public Boolean getIsIdmapGroupsForSysAuth()
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.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-