@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) |
List<String> |
getAdminUserList()
A list of users in the Active Directory that will be granted administrator privileges on the file share.
|
String |
getAuthentication()
The authentication method that users use to access the file share.
|
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 |
getGatewayARN()
The Amazon Resource Name (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()
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 the AWS KMS key used for Amazon S3 server side encryption.
|
String |
getLocationARN()
The ARN of the backed storage used for storing file data.
|
String |
getObjectACL()
A value that sets the access control list 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 ACL (access control list) 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()
A list of users or groups in the Active Directory that are allowed to access the file share.
|
int |
hashCode() |
Boolean |
isGuessMIMETypeEnabled()
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
Boolean |
isKMSEncrypted()
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 ACL (access control list) on the SMB file share.
|
void |
setAdminUserList(Collection<String> adminUserList)
A list of users in the Active Directory that will be granted administrator privileges on the file share.
|
void |
setAuthentication(String authentication)
The authentication method that users use to access the file share.
|
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 |
setGatewayARN(String gatewayARN)
The Amazon Resource Name (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)
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 the AWS KMS key used for Amazon S3 server side encryption.
|
void |
setLocationARN(String locationARN)
The ARN of the backed storage used for storing file data.
|
void |
setObjectACL(String objectACL)
A value that sets the access control list 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 ACL (access control list) 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)
A list of users or groups in the Active Directory that are allowed to access the file share.
|
String |
toString()
Returns a string representation of this object.
|
CreateSMBFileShareRequest |
withAdminUserList(Collection<String> adminUserList)
A list of users in the Active Directory that will be granted administrator privileges on the file share.
|
CreateSMBFileShareRequest |
withAdminUserList(String... adminUserList)
A list of users in the Active Directory that will be granted administrator privileges on the file share.
|
CreateSMBFileShareRequest |
withAuthentication(String authentication)
The authentication method that users use to access the file share.
|
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 |
withGatewayARN(String gatewayARN)
The Amazon Resource Name (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)
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 the AWS KMS key used for Amazon S3 server side encryption.
|
CreateSMBFileShareRequest |
withLocationARN(String locationARN)
The ARN of the backed storage used for storing file data.
|
CreateSMBFileShareRequest |
withObjectACL(ObjectACL objectACL)
A value that sets the access control list 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 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 ACL (access control list) 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)
A list of users or groups in the Active Directory that are allowed to access the file share.
|
CreateSMBFileShareRequest |
withValidUserList(String... validUserList)
A list of users or groups in the Active Directory that are allowed to access the file share.
|
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 Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
gatewayARN
- The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.public String getGatewayARN()
The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
public CreateSMBFileShareRequest withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
gatewayARN
- The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.public void setKMSEncrypted(Boolean kMSEncrypted)
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.
kMSEncrypted
- 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.public Boolean getKMSEncrypted()
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.
public CreateSMBFileShareRequest withKMSEncrypted(Boolean kMSEncrypted)
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.
kMSEncrypted
- 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.public Boolean isKMSEncrypted()
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.
public void setKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when KMSEncrypted is true. Optional.
kMSKey
- The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value
can only be set when KMSEncrypted is true. Optional.public String getKMSKey()
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when KMSEncrypted is true. Optional.
public CreateSMBFileShareRequest withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when KMSEncrypted is true. Optional.
kMSKey
- The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. 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 backed storage used for storing file data.
locationARN
- The ARN of the backed storage used for storing file data.public String getLocationARN()
The ARN of the backed storage used for storing file data.
public CreateSMBFileShareRequest withLocationARN(String locationARN)
The ARN of the backed storage used for storing file data.
locationARN
- The ARN of the backed storage used for storing file data.public void setDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway. Possible values are
S3_STANDARD
, S3_STANDARD_IA
, or S3_ONEZONE_IA
. If this field is not
populated, the default value S3_STANDARD
is used. Optional.
defaultStorageClass
- The default storage class for objects put into an Amazon S3 bucket by the file gateway. Possible values
are S3_STANDARD
, S3_STANDARD_IA
, or S3_ONEZONE_IA
. If this field is
not populated, the default value S3_STANDARD
is used. Optional.public String getDefaultStorageClass()
The default storage class for objects put into an Amazon S3 bucket by the file gateway. Possible values are
S3_STANDARD
, S3_STANDARD_IA
, or S3_ONEZONE_IA
. If this field is not
populated, the default value S3_STANDARD
is used. Optional.
S3_STANDARD
, S3_STANDARD_IA
, or S3_ONEZONE_IA
. If this field
is not populated, the default value S3_STANDARD
is used. Optional.public CreateSMBFileShareRequest withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway. Possible values are
S3_STANDARD
, S3_STANDARD_IA
, or S3_ONEZONE_IA
. If this field is not
populated, the default value S3_STANDARD
is used. Optional.
defaultStorageClass
- The default storage class for objects put into an Amazon S3 bucket by the file gateway. Possible values
are S3_STANDARD
, S3_STANDARD_IA
, or S3_ONEZONE_IA
. If this field is
not populated, the default value S3_STANDARD
is used. Optional.public void setObjectACL(String objectACL)
A value that sets the access control list 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 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 permission for objects in the S3 bucket that a file gateway puts objects into. The default value is "private".
ObjectACL
public CreateSMBFileShareRequest withObjectACL(String objectACL)
A value that sets the access control list 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 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 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 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. This value is true if the write status is read-only, and otherwise false.
readOnly
- A value that sets the write status of a file share. This value is true if the write status is read-only,
and otherwise false.public Boolean getReadOnly()
A value that sets the write status of a file share. This value is true if the write status is read-only, and otherwise false.
public CreateSMBFileShareRequest withReadOnly(Boolean readOnly)
A value that sets the write status of a file share. This value is true if the write status is read-only, and otherwise false.
readOnly
- A value that sets the write status of a file share. This value is true if the write status is read-only,
and otherwise false.public Boolean isReadOnly()
A value that sets the write status of a file share. This value is true if the write status is read-only, and otherwise 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, and otherwise to false. The default value is true.
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, and otherwise to false. The default value is true.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, and otherwise to false. The default value is true.
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, and otherwise to false. The default value is true.
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, and otherwise to false. The default value is true.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, and otherwise to false. The default value is true.
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.
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.
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.
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.
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.
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.
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.
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.
public void setSMBACLEnabled(Boolean sMBACLEnabled)
Set this value to "true to enable ACL (access control list) on the SMB file share. Set it to "false" to map file and directory permissions to the POSIX permissions.
For more information, see https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html in the Storage Gateway User Guide.
sMBACLEnabled
- Set this value to "true to enable ACL (access control list) on the SMB file share. Set it to "false" to
map file and directory permissions to the POSIX permissions.
For more information, see https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html in the Storage Gateway User Guide.
public Boolean getSMBACLEnabled()
Set this value to "true to enable ACL (access control list) on the SMB file share. Set it to "false" to map file and directory permissions to the POSIX permissions.
For more information, see https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html in the Storage Gateway User Guide.
For more information, see https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html in the Storage Gateway User Guide.
public CreateSMBFileShareRequest withSMBACLEnabled(Boolean sMBACLEnabled)
Set this value to "true to enable ACL (access control list) on the SMB file share. Set it to "false" to map file and directory permissions to the POSIX permissions.
For more information, see https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html in the Storage Gateway User Guide.
sMBACLEnabled
- Set this value to "true to enable ACL (access control list) on the SMB file share. Set it to "false" to
map file and directory permissions to the POSIX permissions.
For more information, see https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html in the Storage Gateway User Guide.
public Boolean isSMBACLEnabled()
Set this value to "true to enable ACL (access control list) on the SMB file share. Set it to "false" to map file and directory permissions to the POSIX permissions.
For more information, see https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html in the Storage Gateway User Guide.
For more information, see https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html in the Storage Gateway User Guide.
public List<String> getAdminUserList()
A list of users 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.
Use this option very carefully, because any user in this list can do anything they like on the file share, regardless of file permissions.
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 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.
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 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. 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 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.
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 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. 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 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.
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 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. 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 List<String> getValidUserList()
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. For example @group1
. Can only be set if Authentication is set to
ActiveDirectory
.
@group1
. Can only be set if Authentication is
set to ActiveDirectory
.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. For example @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. For example @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. For example @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. For example @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. For example @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. For example @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. For example @group1
. Can only be set if Authentication is set to
ActiveDirectory
.
@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. For example @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. For example @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. For example @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. For example @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. For example @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. For example @group1
. Can only be set if Authentication
is set to ActiveDirectory
.public void setAuthentication(String authentication)
The authentication method that users use to access the file share.
Valid values are ActiveDirectory
or GuestAccess
. The default is
ActiveDirectory
.
authentication
- The authentication method that users use to access the file share.
Valid values are ActiveDirectory
or GuestAccess
. The default is
ActiveDirectory
.
public String getAuthentication()
The authentication method that users use to access the file share.
Valid values are ActiveDirectory
or GuestAccess
. The default is
ActiveDirectory
.
Valid values are ActiveDirectory
or GuestAccess
. The default is
ActiveDirectory
.
public CreateSMBFileShareRequest withAuthentication(String authentication)
The authentication method that users use to access the file share.
Valid values are ActiveDirectory
or GuestAccess
. The default is
ActiveDirectory
.
authentication
- The authentication method that users use to access the file share.
Valid values are ActiveDirectory
or GuestAccess
. The default is
ActiveDirectory
.
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 String toString()
toString
in class Object
Object.toString()
public CreateSMBFileShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.