public class ChangeTagsForResourceRequest extends AmazonWebServiceRequest implements Serializable
ChangeTagsForResource operation.NOOP| Constructor and Description |
|---|
ChangeTagsForResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Tag> |
getAddTags()
A complex type that contains a list of
Tag elements. |
List<String> |
getRemoveTagKeys()
A list of
Tag keys that you want to remove from the
specified resource. |
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
Tag elements. |
void |
setRemoveTagKeys(Collection<String> removeTagKeys)
A list of
Tag keys that you want to remove from the
specified resource. |
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
Tag elements. |
ChangeTagsForResourceRequest |
withAddTags(Tag... addTags)
A complex type that contains a list of
Tag elements. |
ChangeTagsForResourceRequest |
withRemoveTagKeys(Collection<String> removeTagKeys)
A list of
Tag keys that you want to remove from the
specified resource. |
ChangeTagsForResourceRequest |
withRemoveTagKeys(String... removeTagKeys)
A list of
Tag keys that you want to remove from the
specified resource. |
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.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getResourceType()
healthcheck.
Constraints:
Allowed Values: healthcheck
healthcheck.TagResourceTypepublic void setResourceType(String resourceType)
healthcheck.
Constraints:
Allowed Values: healthcheck
resourceType - The type of the resource. The resource type for health checks is
healthcheck.TagResourceTypepublic ChangeTagsForResourceRequest withResourceType(String resourceType)
healthcheck.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: healthcheck
resourceType - The type of the resource. The resource type for health checks is
healthcheck.TagResourceTypepublic void setResourceType(TagResourceType resourceType)
healthcheck.
Constraints:
Allowed Values: healthcheck
resourceType - The type of the resource. The resource type for health checks is
healthcheck.TagResourceTypepublic ChangeTagsForResourceRequest withResourceType(TagResourceType resourceType)
healthcheck.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: healthcheck
resourceType - The type of the resource. The resource type for health checks is
healthcheck.TagResourceTypepublic String getResourceId()
Constraints:
Length: 0 - 64
public void setResourceId(String resourceId)
Constraints:
Length: 0 - 64
resourceId - The ID of the resource for which you want to add, change, or delete
tags.public ChangeTagsForResourceRequest withResourceId(String resourceId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 64
resourceId - The ID of the resource for which you want to add, change, or delete
tags.public List<Tag> getAddTags()
Tag elements. Each
Tag element identifies a tag that you want to add or
update for the specified resource.
Constraints:
Length: 1 - 10
Tag elements. Each
Tag element identifies a tag that you want to add or
update for the specified resource.public void setAddTags(Collection<Tag> addTags)
Tag elements. Each
Tag element identifies a tag that you want to add or
update for the specified resource.
Constraints:
Length: 1 - 10
addTags - A complex type that contains a list of Tag elements. Each
Tag element identifies a tag that you want to add or
update for the specified resource.public ChangeTagsForResourceRequest withAddTags(Tag... addTags)
Tag elements. Each
Tag element identifies a tag that you want to add or
update for the specified resource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 10
addTags - A complex type that contains a list of Tag elements. Each
Tag element identifies a tag that you want to add or
update for the specified resource.public ChangeTagsForResourceRequest withAddTags(Collection<Tag> addTags)
Tag elements. Each
Tag element identifies a tag that you want to add or
update for the specified resource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 10
addTags - A complex type that contains a list of Tag elements. Each
Tag element identifies a tag that you want to add or
update for the specified resource.public List<String> getRemoveTagKeys()
Tag keys that you want to remove from the
specified resource.
Constraints:
Length: 1 - 10
Tag keys that you want to remove from the
specified resource.public void setRemoveTagKeys(Collection<String> removeTagKeys)
Tag keys that you want to remove from the
specified resource.
Constraints:
Length: 1 - 10
removeTagKeys - A list of Tag keys that you want to remove from the
specified resource.public ChangeTagsForResourceRequest withRemoveTagKeys(String... removeTagKeys)
Tag keys that you want to remove from the
specified resource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 10
removeTagKeys - A list of Tag keys that you want to remove from the
specified resource.public ChangeTagsForResourceRequest withRemoveTagKeys(Collection<String> removeTagKeys)
Tag keys that you want to remove from the
specified resource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 10
removeTagKeys - A list of Tag keys that you want to remove from the
specified resource.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.