@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsForResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTagsForResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ListTagsForResourceResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
ListTagsForResourceResult |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getTags()
An array of key-value pairs used to tag an existing scan.
|
int |
hashCode() |
void |
setTags(Map<String,String> tags)
An array of key-value pairs used to tag an existing scan.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withTags(Map<String,String> tags)
An array of key-value pairs used to tag an existing scan.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public Map<String,String> getTags()
An array of key-value pairs used to tag an existing scan. A tag is a custom attribute label with two parts:
A tag key. For example, CostCenter
, Environment
, or Secret
. Tag keys are
case sensitive.
An optional tag value field. For example, 111122223333
, Production
, or a team name.
Omitting the tag value is the same as using an empty string. Tag values are case sensitive.
A tag key. For example, CostCenter
, Environment
, or Secret
. Tag
keys are case sensitive.
An optional tag value field. For example, 111122223333
, Production
, or a team
name. Omitting the tag value is the same as using an empty string. Tag values are case sensitive.
public void setTags(Map<String,String> tags)
An array of key-value pairs used to tag an existing scan. A tag is a custom attribute label with two parts:
A tag key. For example, CostCenter
, Environment
, or Secret
. Tag keys are
case sensitive.
An optional tag value field. For example, 111122223333
, Production
, or a team name.
Omitting the tag value is the same as using an empty string. Tag values are case sensitive.
tags
- An array of key-value pairs used to tag an existing scan. A tag is a custom attribute label with two
parts:
A tag key. For example, CostCenter
, Environment
, or Secret
. Tag
keys are case sensitive.
An optional tag value field. For example, 111122223333
, Production
, or a team
name. Omitting the tag value is the same as using an empty string. Tag values are case sensitive.
public ListTagsForResourceResult withTags(Map<String,String> tags)
An array of key-value pairs used to tag an existing scan. A tag is a custom attribute label with two parts:
A tag key. For example, CostCenter
, Environment
, or Secret
. Tag keys are
case sensitive.
An optional tag value field. For example, 111122223333
, Production
, or a team name.
Omitting the tag value is the same as using an empty string. Tag values are case sensitive.
tags
- An array of key-value pairs used to tag an existing scan. A tag is a custom attribute label with two
parts:
A tag key. For example, CostCenter
, Environment
, or Secret
. Tag
keys are case sensitive.
An optional tag value field. For example, 111122223333
, Production
, or a team
name. Omitting the tag value is the same as using an empty string. Tag values are case sensitive.
public ListTagsForResourceResult addTagsEntry(String key, String value)
public ListTagsForResourceResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()