@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SMBFileShareInfo extends Object implements Serializable, Cloneable, StructuredPojo
The Windows file permissions and ownership information assigned, by default, to native S3 objects when file gateway discovers them in S3 buckets. This operation is only supported for file gateways.
Constructor and Description |
---|
SMBFileShareInfo() |
Modifier and Type | Method and Description |
---|---|
SMBFileShareInfo |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAdminUserList()
A list of users or groups in the Active Directory that have administrator rights to the file share.
|
String |
getAuthentication() |
String |
getDefaultStorageClass()
The default storage class for objects put into an Amazon S3 bucket by the file gateway.
|
String |
getFileShareARN() |
String |
getFileShareId() |
String |
getFileShareStatus() |
String |
getGatewayARN() |
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() |
String |
getLocationARN() |
String |
getObjectACL() |
String |
getPath()
The file share path used by the SMB client to identify the mount point.
|
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() |
Boolean |
getSMBACLEnabled()
If this value is set to "true", indicates that ACL (access control list) is enabled on the SMB file share.
|
List<Tag> |
getTags()
A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key name.
|
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()
If this value is set to "true", indicates that ACL (access control list) is enabled on the SMB file share.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdminUserList(Collection<String> adminUserList)
A list of users or groups in the Active Directory that have administrator rights to the file share.
|
void |
setAuthentication(String authentication) |
void |
setDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway.
|
void |
setFileShareARN(String fileShareARN) |
void |
setFileShareId(String fileShareId) |
void |
setFileShareStatus(String fileShareStatus) |
void |
setGatewayARN(String gatewayARN) |
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) |
void |
setLocationARN(String locationARN) |
void |
setObjectACL(String objectACL) |
void |
setPath(String path)
The file share path used by the SMB client to identify the mount point.
|
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) |
void |
setSMBACLEnabled(Boolean sMBACLEnabled)
If this value is set to "true", indicates that ACL (access control list) is enabled on the SMB file share.
|
void |
setTags(Collection<Tag> tags)
A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key name.
|
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.
|
SMBFileShareInfo |
withAdminUserList(Collection<String> adminUserList)
A list of users or groups in the Active Directory that have administrator rights to the file share.
|
SMBFileShareInfo |
withAdminUserList(String... adminUserList)
A list of users or groups in the Active Directory that have administrator rights to the file share.
|
SMBFileShareInfo |
withAuthentication(String authentication) |
SMBFileShareInfo |
withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway.
|
SMBFileShareInfo |
withFileShareARN(String fileShareARN) |
SMBFileShareInfo |
withFileShareId(String fileShareId) |
SMBFileShareInfo |
withFileShareStatus(String fileShareStatus) |
SMBFileShareInfo |
withGatewayARN(String gatewayARN) |
SMBFileShareInfo |
withGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
SMBFileShareInfo |
withInvalidUserList(Collection<String> invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share.
|
SMBFileShareInfo |
withInvalidUserList(String... invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share.
|
SMBFileShareInfo |
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.
|
SMBFileShareInfo |
withKMSKey(String kMSKey) |
SMBFileShareInfo |
withLocationARN(String locationARN) |
SMBFileShareInfo |
withObjectACL(ObjectACL objectACL) |
SMBFileShareInfo |
withObjectACL(String objectACL) |
SMBFileShareInfo |
withPath(String path)
The file share path used by the SMB client to identify the mount point.
|
SMBFileShareInfo |
withReadOnly(Boolean readOnly)
A value that sets the write status of a file share.
|
SMBFileShareInfo |
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.
|
SMBFileShareInfo |
withRole(String role) |
SMBFileShareInfo |
withSMBACLEnabled(Boolean sMBACLEnabled)
If this value is set to "true", indicates that ACL (access control list) is enabled on the SMB file share.
|
SMBFileShareInfo |
withTags(Collection<Tag> tags)
A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key name.
|
SMBFileShareInfo |
withTags(Tag... tags)
A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key name.
|
SMBFileShareInfo |
withValidUserList(Collection<String> validUserList)
A list of users or groups in the Active Directory that are allowed to access the file share.
|
SMBFileShareInfo |
withValidUserList(String... validUserList)
A list of users or groups in the Active Directory that are allowed to access the file share.
|
public void setFileShareARN(String fileShareARN)
fileShareARN
- public String getFileShareARN()
public SMBFileShareInfo withFileShareARN(String fileShareARN)
fileShareARN
- public void setFileShareId(String fileShareId)
fileShareId
- public String getFileShareId()
public SMBFileShareInfo withFileShareId(String fileShareId)
fileShareId
- public void setFileShareStatus(String fileShareStatus)
fileShareStatus
- public String getFileShareStatus()
public SMBFileShareInfo withFileShareStatus(String fileShareStatus)
fileShareStatus
- public void setGatewayARN(String gatewayARN)
gatewayARN
- public String getGatewayARN()
public SMBFileShareInfo withGatewayARN(String gatewayARN)
gatewayARN
- 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 SMBFileShareInfo 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)
kMSKey
- public String getKMSKey()
public SMBFileShareInfo withKMSKey(String kMSKey)
kMSKey
- public void setPath(String path)
The file share path used by the SMB client to identify the mount point.
path
- The file share path used by the SMB client to identify the mount point.public String getPath()
The file share path used by the SMB client to identify the mount point.
public SMBFileShareInfo withPath(String path)
The file share path used by the SMB client to identify the mount point.
path
- The file share path used by the SMB client to identify the mount point.public void setRole(String role)
role
- public String getRole()
public SMBFileShareInfo withRole(String role)
role
- public void setLocationARN(String locationARN)
locationARN
- public String getLocationARN()
public SMBFileShareInfo withLocationARN(String locationARN)
locationARN
- 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 SMBFileShareInfo 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 SMBFileShareInfo withObjectACL(String objectACL)
objectACL
- ObjectACL
public SMBFileShareInfo withObjectACL(ObjectACL objectACL)
objectACL
- 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 SMBFileShareInfo 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 SMBFileShareInfo 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 SMBFileShareInfo 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)
If this value is set to "true", indicates that ACL (access control list) is enabled on the SMB file share. If it is set to "false", it indicates that file and directory permissions are mapped to the POSIX permission.
For more information, see https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html in the Storage Gateway User Guide.
sMBACLEnabled
- If this value is set to "true", indicates that ACL (access control list) is enabled on the SMB file share.
If it is set to "false", it indicates that file and directory permissions are mapped to the POSIX
permission.
For more information, see https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html in the Storage Gateway User Guide.
public Boolean getSMBACLEnabled()
If this value is set to "true", indicates that ACL (access control list) is enabled on the SMB file share. If it is set to "false", it indicates that file and directory permissions are mapped to the POSIX permission.
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 SMBFileShareInfo withSMBACLEnabled(Boolean sMBACLEnabled)
If this value is set to "true", indicates that ACL (access control list) is enabled on the SMB file share. If it is set to "false", it indicates that file and directory permissions are mapped to the POSIX permission.
For more information, see https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html in the Storage Gateway User Guide.
sMBACLEnabled
- If this value is set to "true", indicates that ACL (access control list) is enabled on the SMB file share.
If it is set to "false", it indicates that file and directory permissions are mapped to the POSIX
permission.
For more information, see https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html in the Storage Gateway User Guide.
public Boolean isSMBACLEnabled()
If this value is set to "true", indicates that ACL (access control list) is enabled on the SMB file share. If it is set to "false", it indicates that file and directory permissions are mapped to the POSIX permission.
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 or groups in the Active Directory that have administrator rights to 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 setAdminUserList(Collection<String> adminUserList)
A list of users or groups in the Active Directory that have administrator rights to the file share. A group must
be prefixed with the @ character. For example @group1
. Can only be set if Authentication is set to
ActiveDirectory
.
adminUserList
- A list of users or groups in the Active Directory that have administrator rights to 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 SMBFileShareInfo withAdminUserList(String... adminUserList)
A list of users or groups in the Active Directory that have administrator rights to 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
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 have administrator rights to 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 SMBFileShareInfo withAdminUserList(Collection<String> adminUserList)
A list of users or groups in the Active Directory that have administrator rights to the file share. A group must
be prefixed with the @ character. For example @group1
. Can only be set if Authentication is set to
ActiveDirectory
.
adminUserList
- A list of users or groups in the Active Directory that have administrator rights to 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> 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 SMBFileShareInfo 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 SMBFileShareInfo 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 SMBFileShareInfo 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 SMBFileShareInfo 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)
authentication
- public String getAuthentication()
public SMBFileShareInfo withAuthentication(String authentication)
authentication
- public List<Tag> getTags()
A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key name. Each tag is a
key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.
ListTagsForResource
API operation.public void setTags(Collection<Tag> tags)
A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key name. Each tag is a
key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.
tags
- A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key name. Each tag is a
key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.public SMBFileShareInfo withTags(Tag... tags)
A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key name. Each tag is a
key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.
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 assigned to the SMB file share, sorted alphabetically by key name. Each tag is a
key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.public SMBFileShareInfo withTags(Collection<Tag> tags)
A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key name. Each tag is a
key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.
tags
- A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key name. Each tag is a
key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.public String toString()
toString
in class Object
Object.toString()
public SMBFileShareInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.