Class TaskTemplateMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.TaskTemplateMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TaskTemplateMetadata.Builder,TaskTemplateMetadata>
@Generated("software.amazon.awssdk:codegen") public final class TaskTemplateMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TaskTemplateMetadata.Builder,TaskTemplateMetadata>
Contains summary information about the task template.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTaskTemplateMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the task template.static TaskTemplateMetadata.Builderbuilder()InstantcreatedTime()The timestamp when the task template was created.Stringdescription()The description of the task template.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()A unique identifier for the task template.InstantlastModifiedTime()The timestamp when the task template was last modified.Stringname()The name of the task template.List<SdkField<?>>sdkFields()static Class<? extends TaskTemplateMetadata.Builder>serializableBuilderClass()TaskTemplateStatusstatus()Marks a template asACTIVEorINACTIVEfor a task to refer to it.StringstatusAsString()Marks a template asACTIVEorINACTIVEfor a task to refer to it.TaskTemplateMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
A unique identifier for the task template.
- Returns:
- A unique identifier for the task template.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the task template.
- Returns:
- The Amazon Resource Name (ARN) of the task template.
-
name
public final String name()
The name of the task template.
- Returns:
- The name of the task template.
-
description
public final String description()
The description of the task template.
- Returns:
- The description of the task template.
-
status
public final TaskTemplateStatus status()
Marks a template as
ACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. If a template is marked asINACTIVE, 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,
statuswill returnTaskTemplateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Marks a template as
ACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. If a template is marked asINACTIVE, then a task that refers to this template cannot be created. - See Also:
TaskTemplateStatus
-
statusAsString
public final String statusAsString()
Marks a template as
ACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. If a template is marked asINACTIVE, 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,
statuswill returnTaskTemplateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Marks a template as
ACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. If a template is marked asINACTIVE, then a task that refers to this template cannot be created. - See Also:
TaskTemplateStatus
-
lastModifiedTime
public final Instant lastModifiedTime()
The timestamp when the task template was last modified.
- Returns:
- The timestamp when the task template was last modified.
-
createdTime
public final Instant createdTime()
The timestamp when the task template was created.
- Returns:
- The timestamp when the task template was created.
-
toBuilder
public TaskTemplateMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TaskTemplateMetadata.Builder,TaskTemplateMetadata>
-
builder
public static TaskTemplateMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends TaskTemplateMetadata.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-