@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskTemplateMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Contains summary information about the task template.
Constructor and Description |
---|
TaskTemplateMetadata() |
Modifier and Type | Method and Description |
---|---|
TaskTemplateMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the task template.
|
Date |
getCreatedTime()
The timestamp when the task template was created.
|
String |
getDescription()
The description of the task template.
|
String |
getId()
A unique identifier for the task template.
|
Date |
getLastModifiedTime()
The timestamp when the task template was last modified.
|
String |
getName()
The name of the task template.
|
String |
getStatus()
Marks a template as
ACTIVE or INACTIVE for a task to refer to it. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the task template.
|
void |
setCreatedTime(Date createdTime)
The timestamp when the task template was created.
|
void |
setDescription(String description)
The description of the task template.
|
void |
setId(String id)
A unique identifier for the task template.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp when the task template was last modified.
|
void |
setName(String name)
The name of the task template.
|
void |
setStatus(String status)
Marks a template as
ACTIVE or INACTIVE for a task to refer to it. |
String |
toString()
Returns a string representation of this object.
|
TaskTemplateMetadata |
withArn(String arn)
The Amazon Resource Name (ARN) of the task template.
|
TaskTemplateMetadata |
withCreatedTime(Date createdTime)
The timestamp when the task template was created.
|
TaskTemplateMetadata |
withDescription(String description)
The description of the task template.
|
TaskTemplateMetadata |
withId(String id)
A unique identifier for the task template.
|
TaskTemplateMetadata |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when the task template was last modified.
|
TaskTemplateMetadata |
withName(String name)
The name of the task template.
|
TaskTemplateMetadata |
withStatus(String status)
Marks a template as
ACTIVE or INACTIVE for a task to refer to it. |
TaskTemplateMetadata |
withStatus(TaskTemplateStatus status)
Marks a template as
ACTIVE or INACTIVE for a task to refer to it. |
public void setId(String id)
A unique identifier for the task template.
id
- A unique identifier for the task template.public String getId()
A unique identifier for the task template.
public TaskTemplateMetadata withId(String id)
A unique identifier for the task template.
id
- A unique identifier for the task template.public void setArn(String arn)
The Amazon Resource Name (ARN) of the task template.
arn
- The Amazon Resource Name (ARN) of the task template.public String getArn()
The Amazon Resource Name (ARN) of the task template.
public TaskTemplateMetadata withArn(String arn)
The Amazon Resource Name (ARN) of the task template.
arn
- The Amazon Resource Name (ARN) of the task template.public void setName(String name)
The name of the task template.
name
- The name of the task template.public String getName()
The name of the task template.
public TaskTemplateMetadata withName(String name)
The name of the task template.
name
- The name of the task template.public void setDescription(String description)
The description of the task template.
description
- The description of the task template.public String getDescription()
The description of the task template.
public TaskTemplateMetadata withDescription(String description)
The description of the task template.
description
- The description of the task template.public void setStatus(String status)
Marks a template as ACTIVE
or INACTIVE
for a task to refer to it. Tasks can only be
created from ACTIVE
templates. If a template is marked as INACTIVE
, then a task that
refers to this template cannot be created.
status
- Marks a template as ACTIVE
or INACTIVE
for a task to refer to it. Tasks can only
be created from ACTIVE
templates. If a template is marked as INACTIVE
, then a
task that refers to this template cannot be created.TaskTemplateStatus
public String getStatus()
Marks a template as ACTIVE
or INACTIVE
for a task to refer to it. Tasks can only be
created from ACTIVE
templates. If a template is marked as INACTIVE
, then a task that
refers to this template cannot be created.
ACTIVE
or INACTIVE
for a task to refer to it. Tasks can
only be created from ACTIVE
templates. If a template is marked as INACTIVE
,
then a task that refers to this template cannot be created.TaskTemplateStatus
public TaskTemplateMetadata withStatus(String status)
Marks a template as ACTIVE
or INACTIVE
for a task to refer to it. Tasks can only be
created from ACTIVE
templates. If a template is marked as INACTIVE
, then a task that
refers to this template cannot be created.
status
- Marks a template as ACTIVE
or INACTIVE
for a task to refer to it. Tasks can only
be created from ACTIVE
templates. If a template is marked as INACTIVE
, then a
task that refers to this template cannot be created.TaskTemplateStatus
public TaskTemplateMetadata withStatus(TaskTemplateStatus status)
Marks a template as ACTIVE
or INACTIVE
for a task to refer to it. Tasks can only be
created from ACTIVE
templates. If a template is marked as INACTIVE
, then a task that
refers to this template cannot be created.
status
- Marks a template as ACTIVE
or INACTIVE
for a task to refer to it. Tasks can only
be created from ACTIVE
templates. If a template is marked as INACTIVE
, then a
task that refers to this template cannot be created.TaskTemplateStatus
public void setLastModifiedTime(Date lastModifiedTime)
The timestamp when the task template was last modified.
lastModifiedTime
- The timestamp when the task template was last modified.public Date getLastModifiedTime()
The timestamp when the task template was last modified.
public TaskTemplateMetadata withLastModifiedTime(Date lastModifiedTime)
The timestamp when the task template was last modified.
lastModifiedTime
- The timestamp when the task template was last modified.public void setCreatedTime(Date createdTime)
The timestamp when the task template was created.
createdTime
- The timestamp when the task template was created.public Date getCreatedTime()
The timestamp when the task template was created.
public TaskTemplateMetadata withCreatedTime(Date createdTime)
The timestamp when the task template was created.
createdTime
- The timestamp when the task template was created.public String toString()
toString
in class Object
Object.toString()
public TaskTemplateMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.