@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAccessPointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAccessPointRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAccessPointRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.
|
String |
getFileSystemId()
The ID of the EFS file system that the access point provides access to.
|
PosixUser |
getPosixUser()
The operating system user and group applied to all file system requests made using the access point.
|
RootDirectory |
getRootDirectory()
Specifies the directory on the EFS file system that the access point exposes as the root directory of your file
system to NFS clients using the access point.
|
List<Tag> |
getTags()
Creates tags associated with the access point.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.
|
void |
setFileSystemId(String fileSystemId)
The ID of the EFS file system that the access point provides access to.
|
void |
setPosixUser(PosixUser posixUser)
The operating system user and group applied to all file system requests made using the access point.
|
void |
setRootDirectory(RootDirectory rootDirectory)
Specifies the directory on the EFS file system that the access point exposes as the root directory of your file
system to NFS clients using the access point.
|
void |
setTags(Collection<Tag> tags)
Creates tags associated with the access point.
|
String |
toString()
Returns a string representation of this object.
|
CreateAccessPointRequest |
withClientToken(String clientToken)
A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.
|
CreateAccessPointRequest |
withFileSystemId(String fileSystemId)
The ID of the EFS file system that the access point provides access to.
|
CreateAccessPointRequest |
withPosixUser(PosixUser posixUser)
The operating system user and group applied to all file system requests made using the access point.
|
CreateAccessPointRequest |
withRootDirectory(RootDirectory rootDirectory)
Specifies the directory on the EFS file system that the access point exposes as the root directory of your file
system to NFS clients using the access point.
|
CreateAccessPointRequest |
withTags(Collection<Tag> tags)
Creates tags associated with the access point.
|
CreateAccessPointRequest |
withTags(Tag... tags)
Creates tags associated with the access point.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientToken(String clientToken)
A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.
clientToken
- A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.public String getClientToken()
A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.
public CreateAccessPointRequest withClientToken(String clientToken)
A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.
clientToken
- A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.public List<Tag> getTags()
Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
public void setTags(Collection<Tag> tags)
Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
tags
- Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For
more information, see Tagging
Amazon Web Services resources in the Amazon Web Services General Reference Guide.public CreateAccessPointRequest withTags(Tag... tags)
Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For
more information, see Tagging
Amazon Web Services resources in the Amazon Web Services General Reference Guide.public CreateAccessPointRequest withTags(Collection<Tag> tags)
Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
tags
- Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For
more information, see Tagging
Amazon Web Services resources in the Amazon Web Services General Reference Guide.public void setFileSystemId(String fileSystemId)
The ID of the EFS file system that the access point provides access to.
fileSystemId
- The ID of the EFS file system that the access point provides access to.public String getFileSystemId()
The ID of the EFS file system that the access point provides access to.
public CreateAccessPointRequest withFileSystemId(String fileSystemId)
The ID of the EFS file system that the access point provides access to.
fileSystemId
- The ID of the EFS file system that the access point provides access to.public void setPosixUser(PosixUser posixUser)
The operating system user and group applied to all file system requests made using the access point.
posixUser
- The operating system user and group applied to all file system requests made using the access point.public PosixUser getPosixUser()
The operating system user and group applied to all file system requests made using the access point.
public CreateAccessPointRequest withPosixUser(PosixUser posixUser)
The operating system user and group applied to all file system requests made using the access point.
posixUser
- The operating system user and group applied to all file system requests made using the access point.public void setRootDirectory(RootDirectory rootDirectory)
Specifies the directory on the EFS file system that the access point exposes as the root directory of your file
system to NFS clients using the access point. The clients using the access point can only access the root
directory and below. If the RootDirectory
> Path
specified does not exist, Amazon
EFS creates it and applies the CreationInfo
settings when a client connects to an access point. When
specifying a RootDirectory
, you must provide the Path
, and the
CreationInfo
.
Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.
rootDirectory
- Specifies the directory on the EFS file system that the access point exposes as the root directory of your
file system to NFS clients using the access point. The clients using the access point can only access the
root directory and below. If the RootDirectory
> Path
specified does not
exist, Amazon EFS creates it and applies the CreationInfo
settings when a client connects to
an access point. When specifying a RootDirectory
, you must provide the Path
, and
the CreationInfo
.
Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.
public RootDirectory getRootDirectory()
Specifies the directory on the EFS file system that the access point exposes as the root directory of your file
system to NFS clients using the access point. The clients using the access point can only access the root
directory and below. If the RootDirectory
> Path
specified does not exist, Amazon
EFS creates it and applies the CreationInfo
settings when a client connects to an access point. When
specifying a RootDirectory
, you must provide the Path
, and the
CreationInfo
.
Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.
RootDirectory
> Path
specified
does not exist, Amazon EFS creates it and applies the CreationInfo
settings when a client
connects to an access point. When specifying a RootDirectory
, you must provide the
Path
, and the CreationInfo
.
Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.
public CreateAccessPointRequest withRootDirectory(RootDirectory rootDirectory)
Specifies the directory on the EFS file system that the access point exposes as the root directory of your file
system to NFS clients using the access point. The clients using the access point can only access the root
directory and below. If the RootDirectory
> Path
specified does not exist, Amazon
EFS creates it and applies the CreationInfo
settings when a client connects to an access point. When
specifying a RootDirectory
, you must provide the Path
, and the
CreationInfo
.
Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.
rootDirectory
- Specifies the directory on the EFS file system that the access point exposes as the root directory of your
file system to NFS clients using the access point. The clients using the access point can only access the
root directory and below. If the RootDirectory
> Path
specified does not
exist, Amazon EFS creates it and applies the CreationInfo
settings when a client connects to
an access point. When specifying a RootDirectory
, you must provide the Path
, and
the CreationInfo
.
Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.
public String toString()
toString
in class Object
Object.toString()
public CreateAccessPointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()