@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagMFADeviceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
TagMFADeviceRequest() |
Modifier and Type | Method and Description |
---|---|
TagMFADeviceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getSerialNumber()
The unique identifier for the IAM virtual MFA device to which you want to add tags.
|
List<Tag> |
getTags()
The list of tags that you want to attach to the IAM virtual MFA device.
|
int |
hashCode() |
void |
setSerialNumber(String serialNumber)
The unique identifier for the IAM virtual MFA device to which you want to add tags.
|
void |
setTags(Collection<Tag> tags)
The list of tags that you want to attach to the IAM virtual MFA device.
|
String |
toString()
Returns a string representation of this object.
|
TagMFADeviceRequest |
withSerialNumber(String serialNumber)
The unique identifier for the IAM virtual MFA device to which you want to add tags.
|
TagMFADeviceRequest |
withTags(Collection<Tag> tags)
The list of tags that you want to attach to the IAM virtual MFA device.
|
TagMFADeviceRequest |
withTags(Tag... tags)
The list of tags that you want to attach to the IAM virtual MFA device.
|
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 setSerialNumber(String serialNumber)
The unique identifier for the IAM virtual MFA device to which you want to add tags. For virtual MFA devices, the serial number is the same as the ARN.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
serialNumber
- The unique identifier for the IAM virtual MFA device to which you want to add tags. For virtual MFA
devices, the serial number is the same as the ARN.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public String getSerialNumber()
The unique identifier for the IAM virtual MFA device to which you want to add tags. For virtual MFA devices, the serial number is the same as the ARN.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public TagMFADeviceRequest withSerialNumber(String serialNumber)
The unique identifier for the IAM virtual MFA device to which you want to add tags. For virtual MFA devices, the serial number is the same as the ARN.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
serialNumber
- The unique identifier for the IAM virtual MFA device to which you want to add tags. For virtual MFA
devices, the serial number is the same as the ARN.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public List<Tag> getTags()
The list of tags that you want to attach to the IAM virtual MFA device. Each tag consists of a key name and an associated value.
public void setTags(Collection<Tag> tags)
The list of tags that you want to attach to the IAM virtual MFA device. Each tag consists of a key name and an associated value.
tags
- The list of tags that you want to attach to the IAM virtual MFA device. Each tag consists of a key name
and an associated value.public TagMFADeviceRequest withTags(Tag... tags)
The list of tags that you want to attach to the IAM virtual MFA device. Each tag consists of a key name and an associated value.
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
- The list of tags that you want to attach to the IAM virtual MFA device. Each tag consists of a key name
and an associated value.public TagMFADeviceRequest withTags(Collection<Tag> tags)
The list of tags that you want to attach to the IAM virtual MFA device. Each tag consists of a key name and an associated value.
tags
- The list of tags that you want to attach to the IAM virtual MFA device. Each tag consists of a key name
and an associated value.public String toString()
toString
in class Object
Object.toString()
public TagMFADeviceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()