|
|||||||
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 | |
---|---|
List<String> |
getResources()
A list of one or more resource IDs. |
List<Tag> |
getTags()
The tags to delete from the specified resources. |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, 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 Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |