@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 associated repository.
|
int |
hashCode() |
void |
setTags(Map<String,String> tags)
An array of key-value pairs used to tag an associated repository.
|
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 associated repository.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public Map<String,String> getTags()
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
A tag key (for example, CostCenter
, Environment
, Project
, or
Secret
). Tag keys are case sensitive.
An optional field known as a tag value (for example, 111122223333
, Production
,
or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case
sensitive.
A tag key (for example, CostCenter
, Environment
, Project
,
or Secret
). Tag keys are case sensitive.
An optional field known as a tag value (for example, 111122223333
,
Production
, or a team name). Omitting the tag value is the same as using an empty string.
Like tag keys, tag values are case sensitive.
public void setTags(Map<String,String> tags)
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
A tag key (for example, CostCenter
, Environment
, Project
, or
Secret
). Tag keys are case sensitive.
An optional field known as a tag value (for example, 111122223333
, Production
,
or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case
sensitive.
tags
- An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with
two parts:
A tag key (for example, CostCenter
, Environment
, Project
, or
Secret
). Tag keys are case sensitive.
An optional field known as a tag value (for example, 111122223333
,
Production
, or a team name). Omitting the tag value is the same as using an empty string.
Like tag keys, tag values are case sensitive.
public ListTagsForResourceResult withTags(Map<String,String> tags)
An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:
A tag key (for example, CostCenter
, Environment
, Project
, or
Secret
). Tag keys are case sensitive.
An optional field known as a tag value (for example, 111122223333
, Production
,
or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case
sensitive.
tags
- An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with
two parts:
A tag key (for example, CostCenter
, Environment
, Project
, or
Secret
). Tag keys are case sensitive.
An optional field known as a tag value (for example, 111122223333
,
Production
, or a team name). Omitting the tag value is the same as using an empty string.
Like tag keys, 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()