@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobTemplate extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
JobTemplate() |
| Modifier and Type | Method and Description |
|---|---|
JobTemplate |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
An identifier for this resource that is unique within all of AWS.
|
String |
getCategory()
An optional category you create to organize your job templates.
|
Date |
getCreatedAt()
The timestamp in epoch seconds for Job template creation.
|
String |
getDescription()
An optional description you create for each job template.
|
Date |
getLastUpdated()
The timestamp in epoch seconds when the Job template was last updated.
|
String |
getName()
A name you create for each job template.
|
String |
getQueue()
Optional.
|
JobTemplateSettings |
getSettings() |
String |
getType()
A job template can be of two types: system or custom.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
An identifier for this resource that is unique within all of AWS.
|
void |
setCategory(String category)
An optional category you create to organize your job templates.
|
void |
setCreatedAt(Date createdAt)
The timestamp in epoch seconds for Job template creation.
|
void |
setDescription(String description)
An optional description you create for each job template.
|
void |
setLastUpdated(Date lastUpdated)
The timestamp in epoch seconds when the Job template was last updated.
|
void |
setName(String name)
A name you create for each job template.
|
void |
setQueue(String queue)
Optional.
|
void |
setSettings(JobTemplateSettings settings) |
void |
setType(String type)
A job template can be of two types: system or custom.
|
String |
toString()
Returns a string representation of this object.
|
JobTemplate |
withArn(String arn)
An identifier for this resource that is unique within all of AWS.
|
JobTemplate |
withCategory(String category)
An optional category you create to organize your job templates.
|
JobTemplate |
withCreatedAt(Date createdAt)
The timestamp in epoch seconds for Job template creation.
|
JobTemplate |
withDescription(String description)
An optional description you create for each job template.
|
JobTemplate |
withLastUpdated(Date lastUpdated)
The timestamp in epoch seconds when the Job template was last updated.
|
JobTemplate |
withName(String name)
A name you create for each job template.
|
JobTemplate |
withQueue(String queue)
Optional.
|
JobTemplate |
withSettings(JobTemplateSettings settings) |
JobTemplate |
withType(String type)
A job template can be of two types: system or custom.
|
JobTemplate |
withType(Type type)
A job template can be of two types: system or custom.
|
public void setArn(String arn)
arn - An identifier for this resource that is unique within all of AWS.public String getArn()
public JobTemplate withArn(String arn)
arn - An identifier for this resource that is unique within all of AWS.public void setCategory(String category)
category - An optional category you create to organize your job templates.public String getCategory()
public JobTemplate withCategory(String category)
category - An optional category you create to organize your job templates.public void setCreatedAt(Date createdAt)
createdAt - The timestamp in epoch seconds for Job template creation.public Date getCreatedAt()
public JobTemplate withCreatedAt(Date createdAt)
createdAt - The timestamp in epoch seconds for Job template creation.public void setDescription(String description)
description - An optional description you create for each job template.public String getDescription()
public JobTemplate withDescription(String description)
description - An optional description you create for each job template.public void setLastUpdated(Date lastUpdated)
lastUpdated - The timestamp in epoch seconds when the Job template was last updated.public Date getLastUpdated()
public JobTemplate withLastUpdated(Date lastUpdated)
lastUpdated - The timestamp in epoch seconds when the Job template was last updated.public void setName(String name)
name - A name you create for each job template. Each name must be unique within your account.public String getName()
public JobTemplate withName(String name)
name - A name you create for each job template. Each name must be unique within your account.public void setQueue(String queue)
queue - Optional. The queue that jobs created from this template are assigned to. If you don't specify this, jobs
will go to the default queue.public String getQueue()
public JobTemplate withQueue(String queue)
queue - Optional. The queue that jobs created from this template are assigned to. If you don't specify this, jobs
will go to the default queue.public void setSettings(JobTemplateSettings settings)
settings - public JobTemplateSettings getSettings()
public JobTemplate withSettings(JobTemplateSettings settings)
settings - public void setType(String type)
type - A job template can be of two types: system or custom. System or built-in job templates can't be modified
or deleted by the user.Typepublic String getType()
Typepublic JobTemplate withType(String type)
type - A job template can be of two types: system or custom. System or built-in job templates can't be modified
or deleted by the user.Typepublic JobTemplate withType(Type type)
type - A job template can be of two types: system or custom. System or built-in job templates can't be modified
or deleted by the user.Typepublic String toString()
toString in class ObjectObject.toString()public JobTemplate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.