public class ChangeTagsForResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type that contains information about the tags that you want to add, edit, or delete.
NOOP| Constructor and Description |
|---|
ChangeTagsForResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
ChangeTagsForResourceRequest |
clone() |
boolean |
equals(Object obj) |
List<Tag> |
getAddTags()
A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone
and/or the tags for which you want to edit the
Value element. |
List<String> |
getRemoveTagKeys()
A complex type that contains a list of the tags that you want to delete from the specified health check or hosted
zone.
|
String |
getResourceId()
The ID of the resource for which you want to add, change, or delete tags.
|
String |
getResourceType()
The type of the resource.
|
int |
hashCode() |
void |
setAddTags(Collection<Tag> addTags)
A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone
and/or the tags for which you want to edit the
Value element. |
void |
setRemoveTagKeys(Collection<String> removeTagKeys)
A complex type that contains a list of the tags that you want to delete from the specified health check or hosted
zone.
|
void |
setResourceId(String resourceId)
The ID of the resource for which you want to add, change, or delete tags.
|
void |
setResourceType(String resourceType)
The type of the resource.
|
void |
setResourceType(TagResourceType resourceType)
The type of the resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ChangeTagsForResourceRequest |
withAddTags(Collection<Tag> addTags)
A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone
and/or the tags for which you want to edit the
Value element. |
ChangeTagsForResourceRequest |
withAddTags(Tag... addTags)
A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone
and/or the tags for which you want to edit the
Value element. |
ChangeTagsForResourceRequest |
withRemoveTagKeys(Collection<String> removeTagKeys)
A complex type that contains a list of the tags that you want to delete from the specified health check or hosted
zone.
|
ChangeTagsForResourceRequest |
withRemoveTagKeys(String... removeTagKeys)
A complex type that contains a list of the tags that you want to delete from the specified health check or hosted
zone.
|
ChangeTagsForResourceRequest |
withResourceId(String resourceId)
The ID of the resource for which you want to add, change, or delete tags.
|
ChangeTagsForResourceRequest |
withResourceType(String resourceType)
The type of the resource.
|
ChangeTagsForResourceRequest |
withResourceType(TagResourceType resourceType)
The type of the resource.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setResourceType(String resourceType)
The type of the resource.
The resource type for health checks is healthcheck.
The resource type for hosted zones is hostedzone.
resourceType - The type of the resource.
The resource type for health checks is healthcheck.
The resource type for hosted zones is hostedzone.
TagResourceTypepublic String getResourceType()
The type of the resource.
The resource type for health checks is healthcheck.
The resource type for hosted zones is hostedzone.
The resource type for health checks is healthcheck.
The resource type for hosted zones is hostedzone.
TagResourceTypepublic ChangeTagsForResourceRequest withResourceType(String resourceType)
The type of the resource.
The resource type for health checks is healthcheck.
The resource type for hosted zones is hostedzone.
resourceType - The type of the resource.
The resource type for health checks is healthcheck.
The resource type for hosted zones is hostedzone.
TagResourceTypepublic void setResourceType(TagResourceType resourceType)
The type of the resource.
The resource type for health checks is healthcheck.
The resource type for hosted zones is hostedzone.
resourceType - The type of the resource.
The resource type for health checks is healthcheck.
The resource type for hosted zones is hostedzone.
TagResourceTypepublic ChangeTagsForResourceRequest withResourceType(TagResourceType resourceType)
The type of the resource.
The resource type for health checks is healthcheck.
The resource type for hosted zones is hostedzone.
resourceType - The type of the resource.
The resource type for health checks is healthcheck.
The resource type for hosted zones is hostedzone.
TagResourceTypepublic void setResourceId(String resourceId)
The ID of the resource for which you want to add, change, or delete tags.
resourceId - The ID of the resource for which you want to add, change, or delete tags.public String getResourceId()
The ID of the resource for which you want to add, change, or delete tags.
public ChangeTagsForResourceRequest withResourceId(String resourceId)
The ID of the resource for which you want to add, change, or delete tags.
resourceId - The ID of the resource for which you want to add, change, or delete tags.public List<Tag> getAddTags()
A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone
and/or the tags for which you want to edit the Value element.
You can add a maximum of 10 tags to a health check or a hosted zone.
Value element.
You can add a maximum of 10 tags to a health check or a hosted zone.
public void setAddTags(Collection<Tag> addTags)
A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone
and/or the tags for which you want to edit the Value element.
You can add a maximum of 10 tags to a health check or a hosted zone.
addTags - A complex type that contains a list of the tags that you want to add to the specified health check or
hosted zone and/or the tags for which you want to edit the Value element.
You can add a maximum of 10 tags to a health check or a hosted zone.
public ChangeTagsForResourceRequest withAddTags(Tag... addTags)
A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone
and/or the tags for which you want to edit the Value element.
You can add a maximum of 10 tags to a health check or a hosted zone.
NOTE: This method appends the values to the existing list (if any). Use
setAddTags(java.util.Collection) or withAddTags(java.util.Collection) if you want to override
the existing values.
addTags - A complex type that contains a list of the tags that you want to add to the specified health check or
hosted zone and/or the tags for which you want to edit the Value element.
You can add a maximum of 10 tags to a health check or a hosted zone.
public ChangeTagsForResourceRequest withAddTags(Collection<Tag> addTags)
A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone
and/or the tags for which you want to edit the Value element.
You can add a maximum of 10 tags to a health check or a hosted zone.
addTags - A complex type that contains a list of the tags that you want to add to the specified health check or
hosted zone and/or the tags for which you want to edit the Value element.
You can add a maximum of 10 tags to a health check or a hosted zone.
public List<String> getRemoveTagKeys()
A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.
public void setRemoveTagKeys(Collection<String> removeTagKeys)
A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.
removeTagKeys - A complex type that contains a list of the tags that you want to delete from the specified health check or
hosted zone. You can specify up to 10 keys.public ChangeTagsForResourceRequest withRemoveTagKeys(String... removeTagKeys)
A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveTagKeys(java.util.Collection) or withRemoveTagKeys(java.util.Collection) if you want
to override the existing values.
removeTagKeys - A complex type that contains a list of the tags that you want to delete from the specified health check or
hosted zone. You can specify up to 10 keys.public ChangeTagsForResourceRequest withRemoveTagKeys(Collection<String> removeTagKeys)
A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.
removeTagKeys - A complex type that contains a list of the tags that you want to delete from the specified health check or
hosted zone. You can specify up to 10 keys.public String toString()
toString in class ObjectObject.toString()public ChangeTagsForResourceRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.