|
Did this page help you?Yes No Tell us about it... |
||||||
| 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 tags from the specified Amazon EC2 resources.
AmazonEC2.deleteTags(DeleteTagsRequest)| Constructor Summary | |
|---|---|
DeleteTagsRequest()
Default constructor for a new DeleteTagsRequest object. |
|
DeleteTagsRequest(List<String> resources)
Constructs a new DeleteTagsRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
List<String> |
getResources()
A list of one or more resource IDs. |
List<Tag> |
getTags()
The tags to delete from the specified resources. |
int |
hashCode()
|
void |
setResources(Collection<String> resources)
A list of one or more resource IDs. |
void |
setTags(Collection<Tag> tags)
The tags to delete from the specified resources. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteTagsRequest |
withResources(Collection<String> resources)
A list of one or more resource IDs. |
DeleteTagsRequest |
withResources(String... resources)
A list of one or more resource IDs. |
DeleteTagsRequest |
withTags(Collection<Tag> tags)
The tags to delete from the specified resources. |
DeleteTagsRequest |
withTags(Tag... tags)
The tags to delete from the specified resources. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DeleteTagsRequest()
public DeleteTagsRequest(List<String> resources)
resources - A list of one or more resource IDs. This could be the
ID of an AMI, an instance, an EBS volume, or snapshot, etc.| Method Detail |
|---|
public List<String> getResources()
public void setResources(Collection<String> resources)
resources - A list of one or more resource IDs. This could be the ID of an AMI, an
instance, an EBS volume, or snapshot, etc.public DeleteTagsRequest withResources(String... resources)
Returns a reference to this object so that method calls can be chained together.
resources - A list of one or more resource IDs. This could be the ID of an AMI, an
instance, an EBS volume, or snapshot, etc.
public DeleteTagsRequest withResources(Collection<String> resources)
Returns a reference to this object so that method calls can be chained together.
resources - A list of one or more resource IDs. This could be the ID of an AMI, an
instance, an EBS volume, or snapshot, etc.
public List<Tag> getTags()
If a tag is specified without a value, the tag and all of its values are deleted.
If a tag is specified without a value, the tag and all of its values are deleted.
public void setTags(Collection<Tag> tags)
If a tag is specified without a value, the tag and all of its values are deleted.
tags - The tags to delete from the specified resources. Each tag item
consists of a key-value pair. If a tag is specified without a value, the tag and all of its values are deleted.
public DeleteTagsRequest withTags(Tag... tags)
If a tag is specified without a value, the tag and all of its values are deleted.
Returns a reference to this object so that method calls can be chained together.
tags - The tags to delete from the specified resources. Each tag item
consists of a key-value pair. If a tag is specified without a value, the tag and all of its values are deleted.
public DeleteTagsRequest withTags(Collection<Tag> tags)
If a tag is specified without a value, the tag and all of its values are deleted.
Returns a reference to this object so that method calls can be chained together.
tags - The tags to delete from the specified resources. Each tag item
consists of a key-value pair. If a tag is specified without a value, the tag and all of its values are deleted.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||