@Generated(value="software.amazon.awssdk:codegen") public final class UpdateTaskTemplateRequest extends ConnectRequest implements ToCopyableBuilder<UpdateTaskTemplateRequest.Builder,UpdateTaskTemplateRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateTaskTemplateRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateTaskTemplateRequest.Builder |
builder() |
TaskTemplateConstraints |
constraints()
Constraints that are applicable to the fields listed.
|
String |
contactFlowId()
The identifier of the flow that runs by default when a task is created by referencing this template.
|
TaskTemplateDefaults |
defaults()
The default values for fields when a task is created by referencing this template.
|
String |
description()
The description of the task template.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<TaskTemplateField> |
fields()
Fields that are part of the template.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFields()
For responses, this returns true if the service returned a value for the Fields property.
|
int |
hashCode() |
String |
instanceId()
The identifier of the Amazon Connect instance.
|
String |
name()
The name of the task template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateTaskTemplateRequest.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. |
String |
taskTemplateId()
A unique identifier for the task template.
|
UpdateTaskTemplateRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String taskTemplateId()
A unique identifier for the task template.
public final String instanceId()
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
public final String name()
The name of the task template.
public final String description()
The description of the task template.
public final String contactFlowId()
The identifier of the flow that runs by default when a task is created by referencing this template.
public final TaskTemplateConstraints constraints()
Constraints that are applicable to the fields listed.
public final TaskTemplateDefaults defaults()
The default values for fields when a task is created by referencing this 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 boolean hasFields()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<TaskTemplateField> fields()
Fields that are part of the template.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFields() method.
public UpdateTaskTemplateRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateTaskTemplateRequest.Builder,UpdateTaskTemplateRequest>toBuilder in class ConnectRequestpublic static UpdateTaskTemplateRequest.Builder builder()
public static Class<? extends UpdateTaskTemplateRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.