@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSMBFileShareRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateSMBFileShareInput
NOOP
Constructor and Description |
---|
CreateSMBFileShareRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSMBFileShareRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAccessBasedEnumeration()
The files and folders on this share will only be visible to users with read access.
|
List<String> |
getAdminUserList()
A list of users or groups in the Active Directory that will be granted administrator privileges on the file
share.
|
String |
getAuditDestinationARN()
The Amazon Resource Name (ARN) of the storage used for the audit logs.
|
String |
getAuthentication()
The authentication method that users use to access the file share.
|
CacheAttributes |
getCacheAttributes()
Refresh cache information.
|
String |
getCaseSensitivity()
The case of an object name in an Amazon S3 bucket.
|
String |
getClientToken()
A unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
|
String |
getDefaultStorageClass()
The default storage class for objects put into an Amazon S3 bucket by the file gateway.
|
String |
getFileShareName()
The name of the file share.
|
String |
getGatewayARN()
The ARN of the file gateway on which you want to create a file share.
|
Boolean |
getGuessMIMETypeEnabled()
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
List<String> |
getInvalidUserList()
A list of users or groups in the Active Directory that are not allowed to access the file share.
|
Boolean |
getKMSEncrypted()
Set to
true to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. |
String |
getKMSKey()
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption.
|
String |
getLocationARN()
The ARN of the backend storage used for storing file data.
|
String |
getNotificationPolicy()
The notification policy of the file share.
|
String |
getObjectACL()
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into.
|
Boolean |
getReadOnly()
A value that sets the write status of a file share.
|
Boolean |
getRequesterPays()
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
|
String |
getRole()
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the
underlying storage.
|
Boolean |
getSMBACLEnabled()
Set this value to
true to enable access control list (ACL) on the SMB file share. |
List<Tag> |
getTags()
A list of up to 50 tags that can be assigned to the NFS file share.
|
List<String> |
getValidUserList()
|
int |
hashCode() |
Boolean |
isAccessBasedEnumeration()
The files and folders on this share will only be visible to users with read access.
|
Boolean |
isGuessMIMETypeEnabled()
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
Boolean |
isKMSEncrypted()
Set to
true to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. |
Boolean |
isReadOnly()
A value that sets the write status of a file share.
|
Boolean |
isRequesterPays()
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
|
Boolean |
isSMBACLEnabled()
Set this value to
true to enable access control list (ACL) on the SMB file share. |
void |
setAccessBasedEnumeration(Boolean accessBasedEnumeration)
The files and folders on this share will only be visible to users with read access.
|
void |
setAdminUserList(Collection<String> adminUserList)
A list of users or groups in the Active Directory that will be granted administrator privileges on the file
share.
|
void |
setAuditDestinationARN(String auditDestinationARN)
The Amazon Resource Name (ARN) of the storage used for the audit logs.
|
void |
setAuthentication(String authentication)
The authentication method that users use to access the file share.
|
void |
setCacheAttributes(CacheAttributes cacheAttributes)
Refresh cache information.
|
void |
setCaseSensitivity(String caseSensitivity)
The case of an object name in an Amazon S3 bucket.
|
void |
setClientToken(String clientToken)
A unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
|
void |
setDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway.
|
void |
setFileShareName(String fileShareName)
The name of the file share.
|
void |
setGatewayARN(String gatewayARN)
The ARN of the file gateway on which you want to create a file share.
|
void |
setGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
void |
setInvalidUserList(Collection<String> invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share.
|
void |
setKMSEncrypted(Boolean kMSEncrypted)
Set to
true to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. |
void |
setKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption.
|
void |
setLocationARN(String locationARN)
The ARN of the backend storage used for storing file data.
|
void |
setNotificationPolicy(String notificationPolicy)
The notification policy of the file share.
|
void |
setObjectACL(String objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into.
|
void |
setReadOnly(Boolean readOnly)
A value that sets the write status of a file share.
|
void |
setRequesterPays(Boolean requesterPays)
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
|
void |
setRole(String role)
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the
underlying storage.
|
void |
setSMBACLEnabled(Boolean sMBACLEnabled)
Set this value to
true to enable access control list (ACL) on the SMB file share. |
void |
setTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to the NFS file share.
|
void |
setValidUserList(Collection<String> validUserList)
|
String |
toString()
Returns a string representation of this object.
|
CreateSMBFileShareRequest |
withAccessBasedEnumeration(Boolean accessBasedEnumeration)
The files and folders on this share will only be visible to users with read access.
|
CreateSMBFileShareRequest |
withAdminUserList(Collection<String> adminUserList)
A list of users or groups in the Active Directory that will be granted administrator privileges on the file
share.
|
CreateSMBFileShareRequest |
withAdminUserList(String... adminUserList)
A list of users or groups in the Active Directory that will be granted administrator privileges on the file
share.
|
CreateSMBFileShareRequest |
withAuditDestinationARN(String auditDestinationARN)
The Amazon Resource Name (ARN) of the storage used for the audit logs.
|
CreateSMBFileShareRequest |
withAuthentication(String authentication)
The authentication method that users use to access the file share.
|
CreateSMBFileShareRequest |
withCacheAttributes(CacheAttributes cacheAttributes)
Refresh cache information.
|
CreateSMBFileShareRequest |
withCaseSensitivity(CaseSensitivity caseSensitivity)
The case of an object name in an Amazon S3 bucket.
|
CreateSMBFileShareRequest |
withCaseSensitivity(String caseSensitivity)
The case of an object name in an Amazon S3 bucket.
|
CreateSMBFileShareRequest |
withClientToken(String clientToken)
A unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
|
CreateSMBFileShareRequest |
withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway.
|
CreateSMBFileShareRequest |
withFileShareName(String fileShareName)
The name of the file share.
|
CreateSMBFileShareRequest |
withGatewayARN(String gatewayARN)
The ARN of the file gateway on which you want to create a file share.
|
CreateSMBFileShareRequest |
withGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
CreateSMBFileShareRequest |
withInvalidUserList(Collection<String> invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share.
|
CreateSMBFileShareRequest |
withInvalidUserList(String... invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share.
|
CreateSMBFileShareRequest |
withKMSEncrypted(Boolean kMSEncrypted)
Set to
true to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. |
CreateSMBFileShareRequest |
withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption.
|
CreateSMBFileShareRequest |
withLocationARN(String locationARN)
The ARN of the backend storage used for storing file data.
|
CreateSMBFileShareRequest |
withNotificationPolicy(String notificationPolicy)
The notification policy of the file share.
|
CreateSMBFileShareRequest |
withObjectACL(ObjectACL objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into.
|
CreateSMBFileShareRequest |
withObjectACL(String objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into.
|
CreateSMBFileShareRequest |
withReadOnly(Boolean readOnly)
A value that sets the write status of a file share.
|
CreateSMBFileShareRequest |
withRequesterPays(Boolean requesterPays)
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
|
CreateSMBFileShareRequest |
withRole(String role)
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the
underlying storage.
|
CreateSMBFileShareRequest |
withSMBACLEnabled(Boolean sMBACLEnabled)
Set this value to
true to enable access control list (ACL) on the SMB file share. |
CreateSMBFileShareRequest |
withTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to the NFS file share.
|
CreateSMBFileShareRequest |
withTags(Tag... tags)
A list of up to 50 tags that can be assigned to the NFS file share.
|
CreateSMBFileShareRequest |
withValidUserList(Collection<String> validUserList)
|
CreateSMBFileShareRequest |
withValidUserList(String... validUserList)
|
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 unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
clientToken
- A unique string value that you supply that is used by file gateway to ensure idempotent file share
creation.public String getClientToken()
A unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
public CreateSMBFileShareRequest withClientToken(String clientToken)
A unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
clientToken
- A unique string value that you supply that is used by file gateway to ensure idempotent file share
creation.public void setGatewayARN(String gatewayARN)
The ARN of the file gateway on which you want to create a file share.
gatewayARN
- The ARN of the file gateway on which you want to create a file share.public String getGatewayARN()
The ARN of the file gateway on which you want to create a file share.
public CreateSMBFileShareRequest withGatewayARN(String gatewayARN)
The ARN of the file gateway on which you want to create a file share.
gatewayARN
- The ARN of the file gateway on which you want to create a file share.public void setKMSEncrypted(Boolean kMSEncrypted)
Set to true
to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
kMSEncrypted
- Set to true
to use Amazon S3 server-side encryption with your own AWS KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public Boolean getKMSEncrypted()
Set to true
to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
true
to use Amazon S3 server-side encryption with your own AWS KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public CreateSMBFileShareRequest withKMSEncrypted(Boolean kMSEncrypted)
Set to true
to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
kMSEncrypted
- Set to true
to use Amazon S3 server-side encryption with your own AWS KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public Boolean isKMSEncrypted()
Set to true
to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
true
to use Amazon S3 server-side encryption with your own AWS KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public void setKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.
kMSKey
- The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.public String getKMSKey()
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.
KMSEncrypted
is true
. Optional.public CreateSMBFileShareRequest withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.
kMSKey
- The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.public void setRole(String role)
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
role
- The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses
the underlying storage.public String getRole()
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
public CreateSMBFileShareRequest withRole(String role)
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
role
- The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses
the underlying storage.public void setLocationARN(String locationARN)
The ARN of the backend storage used for storing file data. A prefix name can be added to the S3 bucket name. It must end with a "/".
locationARN
- The ARN of the backend storage used for storing file data. A prefix name can be added to the S3 bucket
name. It must end with a "/".public String getLocationARN()
The ARN of the backend storage used for storing file data. A prefix name can be added to the S3 bucket name. It must end with a "/".
public CreateSMBFileShareRequest withLocationARN(String locationARN)
The ARN of the backend storage used for storing file data. A prefix name can be added to the S3 bucket name. It must end with a "/".
locationARN
- The ARN of the backend storage used for storing file data. A prefix name can be added to the S3 bucket
name. It must end with a "/".public void setDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway. The default value is
S3_INTELLIGENT_TIERING
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
|
S3_ONEZONE_IA
defaultStorageClass
- The default storage class for objects put into an Amazon S3 bucket by the file gateway. The default value
is S3_INTELLIGENT_TIERING
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
| S3_ONEZONE_IA
public String getDefaultStorageClass()
The default storage class for objects put into an Amazon S3 bucket by the file gateway. The default value is
S3_INTELLIGENT_TIERING
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
|
S3_ONEZONE_IA
S3_INTELLIGENT_TIERING
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|
S3_STANDARD_IA
| S3_ONEZONE_IA
public CreateSMBFileShareRequest withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway. The default value is
S3_INTELLIGENT_TIERING
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
|
S3_ONEZONE_IA
defaultStorageClass
- The default storage class for objects put into an Amazon S3 bucket by the file gateway. The default value
is S3_INTELLIGENT_TIERING
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
| S3_ONEZONE_IA
public void setObjectACL(String objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into. The default value is private
.
objectACL
- A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file
gateway puts objects into. The default value is private
.ObjectACL
public String getObjectACL()
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into. The default value is private
.
private
.ObjectACL
public CreateSMBFileShareRequest withObjectACL(String objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into. The default value is private
.
objectACL
- A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file
gateway puts objects into. The default value is private
.ObjectACL
public CreateSMBFileShareRequest withObjectACL(ObjectACL objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into. The default value is private
.
objectACL
- A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file
gateway puts objects into. The default value is private
.ObjectACL
public void setReadOnly(Boolean readOnly)
A value that sets the write status of a file share. Set this value to true
to set the write status
to read-only, otherwise set to false
.
Valid Values: true
| false
readOnly
- A value that sets the write status of a file share. Set this value to true
to set the write
status to read-only, otherwise set to false
.
Valid Values: true
| false
public Boolean getReadOnly()
A value that sets the write status of a file share. Set this value to true
to set the write status
to read-only, otherwise set to false
.
Valid Values: true
| false
true
to set the write
status to read-only, otherwise set to false
.
Valid Values: true
| false
public CreateSMBFileShareRequest withReadOnly(Boolean readOnly)
A value that sets the write status of a file share. Set this value to true
to set the write status
to read-only, otherwise set to false
.
Valid Values: true
| false
readOnly
- A value that sets the write status of a file share. Set this value to true
to set the write
status to read-only, otherwise set to false
.
Valid Values: true
| false
public Boolean isReadOnly()
A value that sets the write status of a file share. Set this value to true
to set the write status
to read-only, otherwise set to false
.
Valid Values: true
| false
true
to set the write
status to read-only, otherwise set to false
.
Valid Values: true
| false
public void setGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to
true
to enable MIME type guessing, otherwise set to false
. The default value is
true
.
Valid Values: true
| false
guessMIMETypeEnabled
- A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this
value to true
to enable MIME type guessing, otherwise set to false
. The default
value is true
.
Valid Values: true
| false
public Boolean getGuessMIMETypeEnabled()
A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to
true
to enable MIME type guessing, otherwise set to false
. The default value is
true
.
Valid Values: true
| false
true
to enable MIME type guessing, otherwise set to false
. The default
value is true
.
Valid Values: true
| false
public CreateSMBFileShareRequest withGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to
true
to enable MIME type guessing, otherwise set to false
. The default value is
true
.
Valid Values: true
| false
guessMIMETypeEnabled
- A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this
value to true
to enable MIME type guessing, otherwise set to false
. The default
value is true
.
Valid Values: true
| false
public Boolean isGuessMIMETypeEnabled()
A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to
true
to enable MIME type guessing, otherwise set to false
. The default value is
true
.
Valid Values: true
| false
true
to enable MIME type guessing, otherwise set to false
. The default
value is true
.
Valid Values: true
| false
public void setRequesterPays(Boolean requesterPays)
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays.
However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the
configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
requesterPays
- A value that sets who pays the cost of the request and the cost associated with data download from the S3
bucket. If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket
owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure
that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
public Boolean getRequesterPays()
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays.
However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the
configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
true
, the requester pays the costs; otherwise, the S3 bucket
owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure
that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
public CreateSMBFileShareRequest withRequesterPays(Boolean requesterPays)
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays.
However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the
configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
requesterPays
- A value that sets who pays the cost of the request and the cost associated with data download from the S3
bucket. If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket
owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure
that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
public Boolean isRequesterPays()
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays.
However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the
configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
true
, the requester pays the costs; otherwise, the S3 bucket
owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure
that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
public void setSMBACLEnabled(Boolean sMBACLEnabled)
Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the AWS Storage Gateway User Guide.
Valid Values: true
| false
sMBACLEnabled
- Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the AWS Storage Gateway User Guide.
Valid Values: true
| false
public Boolean getSMBACLEnabled()
Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the AWS Storage Gateway User Guide.
Valid Values: true
| false
true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the AWS Storage Gateway User Guide.
Valid Values: true
| false
public CreateSMBFileShareRequest withSMBACLEnabled(Boolean sMBACLEnabled)
Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the AWS Storage Gateway User Guide.
Valid Values: true
| false
sMBACLEnabled
- Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the AWS Storage Gateway User Guide.
Valid Values: true
| false
public Boolean isSMBACLEnabled()
Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the AWS Storage Gateway User Guide.
Valid Values: true
| false
true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the AWS Storage Gateway User Guide.
Valid Values: true
| false
public void setAccessBasedEnumeration(Boolean accessBasedEnumeration)
The files and folders on this share will only be visible to users with read access.
accessBasedEnumeration
- The files and folders on this share will only be visible to users with read access.public Boolean getAccessBasedEnumeration()
The files and folders on this share will only be visible to users with read access.
public CreateSMBFileShareRequest withAccessBasedEnumeration(Boolean accessBasedEnumeration)
The files and folders on this share will only be visible to users with read access.
accessBasedEnumeration
- The files and folders on this share will only be visible to users with read access.public Boolean isAccessBasedEnumeration()
The files and folders on this share will only be visible to users with read access.
public List<String> getAdminUserList()
A list of users or groups in the Active Directory that will be granted administrator privileges on the file
share. These users can do all file operations as the super-user. Acceptable formats include:
DOMAIN\User1
, user1
, @group1
, and @DOMAIN\group1
.
Use this option very carefully, because any user in this list can do anything they like on the file share, regardless of file permissions.
DOMAIN\User1
, user1
, @group1
, and @DOMAIN\group1
.
Use this option very carefully, because any user in this list can do anything they like on the file share, regardless of file permissions.
public void setAdminUserList(Collection<String> adminUserList)
A list of users or groups in the Active Directory that will be granted administrator privileges on the file
share. These users can do all file operations as the super-user. Acceptable formats include:
DOMAIN\User1
, user1
, @group1
, and @DOMAIN\group1
.
Use this option very carefully, because any user in this list can do anything they like on the file share, regardless of file permissions.
adminUserList
- A list of users or groups in the Active Directory that will be granted administrator privileges on the
file share. These users can do all file operations as the super-user. Acceptable formats include:
DOMAIN\User1
, user1
, @group1
, and @DOMAIN\group1
.
Use this option very carefully, because any user in this list can do anything they like on the file share, regardless of file permissions.
public CreateSMBFileShareRequest withAdminUserList(String... adminUserList)
A list of users or groups in the Active Directory that will be granted administrator privileges on the file
share. These users can do all file operations as the super-user. Acceptable formats include:
DOMAIN\User1
, user1
, @group1
, and @DOMAIN\group1
.
Use this option very carefully, because any user in this list can do anything they like on the file share, regardless of file permissions.
NOTE: This method appends the values to the existing list (if any). Use
setAdminUserList(java.util.Collection)
or withAdminUserList(java.util.Collection)
if you want
to override the existing values.
adminUserList
- A list of users or groups in the Active Directory that will be granted administrator privileges on the
file share. These users can do all file operations as the super-user. Acceptable formats include:
DOMAIN\User1
, user1
, @group1
, and @DOMAIN\group1
.
Use this option very carefully, because any user in this list can do anything they like on the file share, regardless of file permissions.
public CreateSMBFileShareRequest withAdminUserList(Collection<String> adminUserList)
A list of users or groups in the Active Directory that will be granted administrator privileges on the file
share. These users can do all file operations as the super-user. Acceptable formats include:
DOMAIN\User1
, user1
, @group1
, and @DOMAIN\group1
.
Use this option very carefully, because any user in this list can do anything they like on the file share, regardless of file permissions.
adminUserList
- A list of users or groups in the Active Directory that will be granted administrator privileges on the
file share. These users can do all file operations as the super-user. Acceptable formats include:
DOMAIN\User1
, user1
, @group1
, and @DOMAIN\group1
.
Use this option very carefully, because any user in this list can do anything they like on the file share, regardless of file permissions.
public void setValidUserList(Collection<String> validUserList)
A list of users or groups in the Active Directory that are allowed to access the file share. A group
must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\group1
. Can only be set if Authentication is set to
ActiveDirectory
.
validUserList
- A list of users or groups in the Active Directory that are allowed to access the file share.
A group must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\group1
. Can only be set if
Authentication is set to ActiveDirectory
.public CreateSMBFileShareRequest withValidUserList(String... validUserList)
A list of users or groups in the Active Directory that are allowed to access the file share. A group
must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\group1
. Can only be set if Authentication is set to
ActiveDirectory
.
NOTE: This method appends the values to the existing list (if any). Use
setValidUserList(java.util.Collection)
or withValidUserList(java.util.Collection)
if you want
to override the existing values.
validUserList
- A list of users or groups in the Active Directory that are allowed to access the file share.
A group must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\group1
. Can only be set if
Authentication is set to ActiveDirectory
.public CreateSMBFileShareRequest withValidUserList(Collection<String> validUserList)
A list of users or groups in the Active Directory that are allowed to access the file share. A group
must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\group1
. Can only be set if Authentication is set to
ActiveDirectory
.
validUserList
- A list of users or groups in the Active Directory that are allowed to access the file share.
A group must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\group1
. Can only be set if
Authentication is set to ActiveDirectory
.public List<String> getInvalidUserList()
A list of users or groups in the Active Directory that are not allowed to access the file share. A group must be
prefixed with the @ character. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\group1
. Can only be set if Authentication is set to
ActiveDirectory
.
DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\group1
. Can only be set if
Authentication is set to ActiveDirectory
.public void setInvalidUserList(Collection<String> invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share. A group must be
prefixed with the @ character. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\group1
. Can only be set if Authentication is set to
ActiveDirectory
.
invalidUserList
- A list of users or groups in the Active Directory that are not allowed to access the file share. A group
must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\group1
. Can only be set if
Authentication is set to ActiveDirectory
.public CreateSMBFileShareRequest withInvalidUserList(String... invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share. A group must be
prefixed with the @ character. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\group1
. Can only be set if Authentication is set to
ActiveDirectory
.
NOTE: This method appends the values to the existing list (if any). Use
setInvalidUserList(java.util.Collection)
or withInvalidUserList(java.util.Collection)
if you
want to override the existing values.
invalidUserList
- A list of users or groups in the Active Directory that are not allowed to access the file share. A group
must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\group1
. Can only be set if
Authentication is set to ActiveDirectory
.public CreateSMBFileShareRequest withInvalidUserList(Collection<String> invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share. A group must be
prefixed with the @ character. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\group1
. Can only be set if Authentication is set to
ActiveDirectory
.
invalidUserList
- A list of users or groups in the Active Directory that are not allowed to access the file share. A group
must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\group1
. Can only be set if
Authentication is set to ActiveDirectory
.public void setAuditDestinationARN(String auditDestinationARN)
The Amazon Resource Name (ARN) of the storage used for the audit logs.
auditDestinationARN
- The Amazon Resource Name (ARN) of the storage used for the audit logs.public String getAuditDestinationARN()
The Amazon Resource Name (ARN) of the storage used for the audit logs.
public CreateSMBFileShareRequest withAuditDestinationARN(String auditDestinationARN)
The Amazon Resource Name (ARN) of the storage used for the audit logs.
auditDestinationARN
- The Amazon Resource Name (ARN) of the storage used for the audit logs.public void setAuthentication(String authentication)
The authentication method that users use to access the file share. The default is ActiveDirectory
.
Valid Values: ActiveDirectory
| GuestAccess
authentication
- The authentication method that users use to access the file share. The default is
ActiveDirectory
.
Valid Values: ActiveDirectory
| GuestAccess
public String getAuthentication()
The authentication method that users use to access the file share. The default is ActiveDirectory
.
Valid Values: ActiveDirectory
| GuestAccess
ActiveDirectory
.
Valid Values: ActiveDirectory
| GuestAccess
public CreateSMBFileShareRequest withAuthentication(String authentication)
The authentication method that users use to access the file share. The default is ActiveDirectory
.
Valid Values: ActiveDirectory
| GuestAccess
authentication
- The authentication method that users use to access the file share. The default is
ActiveDirectory
.
Valid Values: ActiveDirectory
| GuestAccess
public void setCaseSensitivity(String caseSensitivity)
The case of an object name in an Amazon S3 bucket. For ClientSpecified
, the client determines the
case sensitivity. For CaseSensitive
, the gateway determines the case sensitivity. The default value
is ClientSpecified
.
caseSensitivity
- The case of an object name in an Amazon S3 bucket. For ClientSpecified
, the client determines
the case sensitivity. For CaseSensitive
, the gateway determines the case sensitivity. The
default value is ClientSpecified
.CaseSensitivity
public String getCaseSensitivity()
The case of an object name in an Amazon S3 bucket. For ClientSpecified
, the client determines the
case sensitivity. For CaseSensitive
, the gateway determines the case sensitivity. The default value
is ClientSpecified
.
ClientSpecified
, the client
determines the case sensitivity. For CaseSensitive
, the gateway determines the case
sensitivity. The default value is ClientSpecified
.CaseSensitivity
public CreateSMBFileShareRequest withCaseSensitivity(String caseSensitivity)
The case of an object name in an Amazon S3 bucket. For ClientSpecified
, the client determines the
case sensitivity. For CaseSensitive
, the gateway determines the case sensitivity. The default value
is ClientSpecified
.
caseSensitivity
- The case of an object name in an Amazon S3 bucket. For ClientSpecified
, the client determines
the case sensitivity. For CaseSensitive
, the gateway determines the case sensitivity. The
default value is ClientSpecified
.CaseSensitivity
public CreateSMBFileShareRequest withCaseSensitivity(CaseSensitivity caseSensitivity)
The case of an object name in an Amazon S3 bucket. For ClientSpecified
, the client determines the
case sensitivity. For CaseSensitive
, the gateway determines the case sensitivity. The default value
is ClientSpecified
.
caseSensitivity
- The case of an object name in an Amazon S3 bucket. For ClientSpecified
, the client determines
the case sensitivity. For CaseSensitive
, the gateway determines the case sensitivity. The
default value is ClientSpecified
.CaseSensitivity
public List<Tag> getTags()
A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public void setTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
tags
- A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public CreateSMBFileShareRequest withTags(Tag... tags)
A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
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
- A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public CreateSMBFileShareRequest withTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
tags
- A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public void setFileShareName(String fileShareName)
The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
.
fileShareName
- The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
.
public String getFileShareName()
The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
.
FileShareName
must be set if an S3 prefix name is set in LocationARN
.
public CreateSMBFileShareRequest withFileShareName(String fileShareName)
The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
.
fileShareName
- The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
.
public void setCacheAttributes(CacheAttributes cacheAttributes)
Refresh cache information.
cacheAttributes
- Refresh cache information.public CacheAttributes getCacheAttributes()
Refresh cache information.
public CreateSMBFileShareRequest withCacheAttributes(CacheAttributes cacheAttributes)
Refresh cache information.
cacheAttributes
- Refresh cache information.public void setNotificationPolicy(String notificationPolicy)
The notification policy of the file share.
notificationPolicy
- The notification policy of the file share.public String getNotificationPolicy()
The notification policy of the file share.
public CreateSMBFileShareRequest withNotificationPolicy(String notificationPolicy)
The notification policy of the file share.
notificationPolicy
- The notification policy of the file share.public String toString()
toString
in class Object
Object.toString()
public CreateSMBFileShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()