public class UpdateTagsForDomainRequest extends AmazonWebServiceRequest implements Serializable
UpdateTagsForDomain operation.
This operation adds or updates tags for a specified domain.
All tag operations are eventually consistent; subsequent operations may not immediately represent all issued operations.
NOOP| Constructor and Description |
|---|
UpdateTagsForDomainRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDomainName()
The domain for which you want to add or update tags.
|
List<Tag> |
getTagsToUpdate()
A list of the tag keys and values that you want to add or update.
|
int |
hashCode() |
void |
setDomainName(String domainName)
The domain for which you want to add or update tags.
|
void |
setTagsToUpdate(Collection<Tag> tagsToUpdate)
A list of the tag keys and values that you want to add or update.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateTagsForDomainRequest |
withDomainName(String domainName)
The domain for which you want to add or update tags.
|
UpdateTagsForDomainRequest |
withTagsToUpdate(Collection<Tag> tagsToUpdate)
A list of the tag keys and values that you want to add or update.
|
UpdateTagsForDomainRequest |
withTagsToUpdate(Tag... tagsToUpdate)
A list of the tag keys and values that you want to add or update.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getDomainName()
The name of a domain.
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Hyphens are allowed only when they're surrounded by letters, numbers, or other hyphens. You can't specify a hyphen at the beginning or end of a label. To specify an Internationalized Domain Name, you must convert the name to Punycode.
Required: Yes
Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*
The name of a domain.
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Hyphens are allowed only when they're surrounded by letters, numbers, or other hyphens. You can't specify a hyphen at the beginning or end of a label. To specify an Internationalized Domain Name, you must convert the name to Punycode.
Required: Yes
public void setDomainName(String domainName)
The name of a domain.
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Hyphens are allowed only when they're surrounded by letters, numbers, or other hyphens. You can't specify a hyphen at the beginning or end of a label. To specify an Internationalized Domain Name, you must convert the name to Punycode.
Required: Yes
Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*
domainName - The domain for which you want to add or update tags. The name of a domain.
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Hyphens are allowed only when they're surrounded by letters, numbers, or other hyphens. You can't specify a hyphen at the beginning or end of a label. To specify an Internationalized Domain Name, you must convert the name to Punycode.
Required: Yes
public UpdateTagsForDomainRequest withDomainName(String domainName)
The name of a domain.
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Hyphens are allowed only when they're surrounded by letters, numbers, or other hyphens. You can't specify a hyphen at the beginning or end of a label. To specify an Internationalized Domain Name, you must convert the name to Punycode.
Required: Yes
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*
domainName - The domain for which you want to add or update tags. The name of a domain.
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Hyphens are allowed only when they're surrounded by letters, numbers, or other hyphens. You can't specify a hyphen at the beginning or end of a label. To specify an Internationalized Domain Name, you must convert the name to Punycode.
Required: Yes
public List<Tag> getTagsToUpdate()
Type: A complex type containing a list of tags
Default: None
Required: No'>
Each tag includes the following elements:
Key
The key (name) of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each key can be 1-128 characters long.
Required: Yes
Value
The value of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each value can be 0-256 characters long.
Required: Yes
Type: A complex type containing a list of tags
Default: None
Required: No'>
Each tag includes the following elements:
Key
The key (name) of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each key can be 1-128 characters long.
Required: Yes
Value
The value of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each value can be 0-256 characters long.
Required: Yes
public void setTagsToUpdate(Collection<Tag> tagsToUpdate)
Type: A complex type containing a list of tags
Default: None
Required: No'>
Each tag includes the following elements:
Key
The key (name) of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each key can be 1-128 characters long.
Required: Yes
Value
The value of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each value can be 0-256 characters long.
Required: Yes
tagsToUpdate - A list of the tag keys and values that you want to add or update. If
you specify a key that already exists, the corresponding value will be
replaced. Type: A complex type containing a list of tags
Default: None
Required: No'>
Each tag includes the following elements:
Key
The key (name) of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each key can be 1-128 characters long.
Required: Yes
Value
The value of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each value can be 0-256 characters long.
Required: Yes
public UpdateTagsForDomainRequest withTagsToUpdate(Tag... tagsToUpdate)
Type: A complex type containing a list of tags
Default: None
Required: No'>
Each tag includes the following elements:
Key
The key (name) of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each key can be 1-128 characters long.
Required: Yes
Value
The value of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each value can be 0-256 characters long.
Required: Yes
Returns a reference to this object so that method calls can be chained together.
tagsToUpdate - A list of the tag keys and values that you want to add or update. If
you specify a key that already exists, the corresponding value will be
replaced. Type: A complex type containing a list of tags
Default: None
Required: No'>
Each tag includes the following elements:
Key
The key (name) of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each key can be 1-128 characters long.
Required: Yes
Value
The value of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each value can be 0-256 characters long.
Required: Yes
public UpdateTagsForDomainRequest withTagsToUpdate(Collection<Tag> tagsToUpdate)
Type: A complex type containing a list of tags
Default: None
Required: No'>
Each tag includes the following elements:
Key
The key (name) of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each key can be 1-128 characters long.
Required: Yes
Value
The value of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each value can be 0-256 characters long.
Required: Yes
Returns a reference to this object so that method calls can be chained together.
tagsToUpdate - A list of the tag keys and values that you want to add or update. If
you specify a key that already exists, the corresponding value will be
replaced. Type: A complex type containing a list of tags
Default: None
Required: No'>
Each tag includes the following elements:
Key
The key (name) of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each key can be 1-128 characters long.
Required: Yes
Value
The value of a tag.
Type: String
Default: None
Valid values: Unicode characters including alphanumeric, space, and ".:/=+\-%@"
Constraints: Each value can be 0-256 characters long.
Required: Yes
public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.