public class DeleteTagsRequest extends AmazonWebServiceRequest implements java.io.Serializable
DeleteTags operation.
Deletes tags from the specified Amazon EC2 resources.
| コンストラクタと説明 |
|---|
DeleteTagsRequest()
Default constructor for a new DeleteTagsRequest object.
|
DeleteTagsRequest(java.util.List<java.lang.String> resources)
Constructs a new DeleteTagsRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getResources()
A list of one or more resource IDs.
|
java.util.List<Tag> |
getTags()
The tags to delete from the specified resources.
|
int |
hashCode() |
void |
setResources(java.util.Collection<java.lang.String> resources)
A list of one or more resource IDs.
|
void |
setTags(java.util.Collection<Tag> tags)
The tags to delete from the specified resources.
|
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)
A list of one or more resource IDs.
|
DeleteTagsRequest |
withResources(java.lang.String... resources)
A list of one or more resource IDs.
|
DeleteTagsRequest |
withTags(java.util.Collection<Tag> tags)
The tags to delete from the specified resources.
|
DeleteTagsRequest |
withTags(Tag... tags)
The tags to delete from the specified resources.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DeleteTagsRequest()
public DeleteTagsRequest(java.util.List<java.lang.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 java.util.List<java.lang.String> getResources()
public void setResources(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.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(java.util.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(java.util.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object