@Generated(value="software.amazon.awssdk:codegen") public final class TaskTemplateMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TaskTemplateMetadata.Builder,TaskTemplateMetadata>
Contains summary information about the task template.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TaskTemplateMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the task template.
|
static TaskTemplateMetadata.Builder |
builder() |
Instant |
createdTime()
The timestamp when the task template was created.
|
String |
description()
The description of the task template.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
A unique identifier for the task template.
|
Instant |
lastModifiedTime()
The timestamp when the task template was last modified.
|
String |
name()
The name of the task template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TaskTemplateMetadata.Builder> |
serializableBuilderClass() |
TaskTemplateStatus |
status()
Marks a template as
ACTIVE or INACTIVE for a task to refer to it. |
String |
statusAsString()
Marks a template as
ACTIVE or INACTIVE for a task to refer to it. |
TaskTemplateMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
A unique identifier for the task template.
public final String arn()
The Amazon Resource Name (ARN) of the task template.
public final String name()
The name of the task template.
public final String description()
The description of the task template.
public final 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.
If the service returns an enum value that is not available in the current SDK version, status will
return TaskTemplateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
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.TaskTemplateStatuspublic final String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, status will
return TaskTemplateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
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.TaskTemplateStatuspublic final Instant lastModifiedTime()
The timestamp when the task template was last modified.
public final Instant createdTime()
The timestamp when the task template was created.
public TaskTemplateMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TaskTemplateMetadata.Builder,TaskTemplateMetadata>public static TaskTemplateMetadata.Builder builder()
public static Class<? extends TaskTemplateMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.