|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DeleteTagsRequest
public class DeleteTagsRequest
Container for the parameters to the DeleteTags operation.
Deletes the specified set of tags from the specified set of resources.
This call is designed to follow a DescribeTags request.
For more information about tags, see Tagging Your Resources in the Amazon Elastic Compute Cloud User Guide .
AmazonEC2.deleteTags(DeleteTagsRequest),
Serialized Form| Constructor Summary | |
|---|---|
DeleteTagsRequest()
Default constructor for a new DeleteTagsRequest object. |
|
DeleteTagsRequest(java.util.List<java.lang.String> resources)
Constructs a new DeleteTagsRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
Request<DeleteTagsRequest> |
getDryRunRequest()
This method is intended for internal use only. |
java.util.List<java.lang.String> |
getResources()
The ID of the resource. |
java.util.List<Tag> |
getTags()
One or more tags to delete. |
int |
hashCode()
|
void |
setResources(java.util.Collection<java.lang.String> resources)
The ID of the resource. |
void |
setTags(java.util.Collection<Tag> tags)
One or more tags to delete. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteTagsRequest |
withResources(java.util.Collection<java.lang.String> resources)
The ID of the resource. |
DeleteTagsRequest |
withResources(java.lang.String... resources)
The ID of the resource. |
DeleteTagsRequest |
withTags(java.util.Collection<Tag> tags)
One or more tags to delete. |
DeleteTagsRequest |
withTags(Tag... tags)
One or more tags to delete. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DeleteTagsRequest()
public DeleteTagsRequest(java.util.List<java.lang.String> resources)
resources - The ID of the resource. For example, ami-1a2b3c4d.
You can specify more than one resource ID.| Method Detail |
|---|
public java.util.List<java.lang.String> getResources()
public void setResources(java.util.Collection<java.lang.String> resources)
resources - The ID of the resource. For example, ami-1a2b3c4d. You can specify
more than one resource ID.public DeleteTagsRequest withResources(java.lang.String... resources)
Returns a reference to this object so that method calls can be chained together.
resources - The ID of the resource. For example, ami-1a2b3c4d. You can specify
more than one resource ID.
public DeleteTagsRequest withResources(java.util.Collection<java.lang.String> resources)
Returns a reference to this object so that method calls can be chained together.
resources - The ID of the resource. For example, ami-1a2b3c4d. You can specify
more than one resource ID.
public java.util.List<Tag> getTags()
value
parameter, we delete the tag regardless of its value. If you specify
this parameter with an empty string as the value, we delete the key
only if its value is an empty string.
value
parameter, we delete the tag regardless of its value. If you specify
this parameter with an empty string as the value, we delete the key
only if its value is an empty string.public void setTags(java.util.Collection<Tag> tags)
value
parameter, we delete the tag regardless of its value. If you specify
this parameter with an empty string as the value, we delete the key
only if its value is an empty string.
tags - One or more tags to delete. If you omit the value
parameter, we delete the tag regardless of its value. If you specify
this parameter with an empty string as the value, we delete the key
only if its value is an empty string.public DeleteTagsRequest withTags(Tag... tags)
value
parameter, we delete the tag regardless of its value. If you specify
this parameter with an empty string as the value, we delete the key
only if its value is an empty string.
Returns a reference to this object so that method calls can be chained together.
tags - One or more tags to delete. If you omit the value
parameter, we delete the tag regardless of its value. If you specify
this parameter with an empty string as the value, we delete the key
only if its value is an empty string.
public DeleteTagsRequest withTags(java.util.Collection<Tag> tags)
value
parameter, we delete the tag regardless of its value. If you specify
this parameter with an empty string as the value, we delete the key
only if its value is an empty string.
Returns a reference to this object so that method calls can be chained together.
tags - One or more tags to delete. If you omit the value
parameter, we delete the tag regardless of its value. If you specify
this parameter with an empty string as the value, we delete the key
only if its value is an empty string.
public Request<DeleteTagsRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DeleteTagsRequest>public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||