@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)
Marshalls this structured data using the given
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.JobResourceType
public String getResourceType()
The job's type.
JobResourceType
public JobResourceTags withResourceType(String resourceType)
The job's type.
resourceType
- The job's type.JobResourceType
public JobResourceTags withResourceType(JobResourceType resourceType)
The job's type.
resourceType
- The job's type.JobResourceType
public 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 Object
Object.toString()
public JobResourceTags clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.