@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobResourceTags extends Object implements Serializable, Cloneable, StructuredPojo
Tags for a job.
| Constructor and Description |
|---|
JobResourceTags() |
| Modifier and Type | Method and Description |
|---|---|
JobResourceTags |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
JobResourceTags |
clearTagsEntries()
Removes all the entries added into Tags.
|
JobResourceTags |
clone() |
boolean |
equals(Object obj) |
String |
getResourceType()
The job's type.
|
Map<String,String> |
getTags()
The job's tags.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setResourceType(String resourceType)
The job's type.
|
void |
setTags(Map<String,String> tags)
The job's tags.
|
String |
toString()
Returns a string representation of this object.
|
JobResourceTags |
withResourceType(JobResourceType resourceType)
The job's type.
|
JobResourceTags |
withResourceType(String resourceType)
The job's type.
|
JobResourceTags |
withTags(Map<String,String> tags)
The job's tags.
|
public void setResourceType(String resourceType)
The job's type.
resourceType - The job's type.JobResourceTypepublic String getResourceType()
The job's type.
JobResourceTypepublic JobResourceTags withResourceType(String resourceType)
The job's type.
resourceType - The job's type.JobResourceTypepublic JobResourceTags withResourceType(JobResourceType resourceType)
The job's type.
resourceType - The job's type.JobResourceTypepublic void setTags(Map<String,String> tags)
The job's tags.
tags - The job's tags.public JobResourceTags withTags(Map<String,String> tags)
The job's tags.
tags - The job's tags.public JobResourceTags addTagsEntry(String key, String value)
public JobResourceTags clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public JobResourceTags clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.