public static interface GetTemplateResponse.Builder extends ConnectCasesResponse.Builder, SdkPojo, CopyableBuilder<GetTemplateResponse.Builder,GetTemplateResponse>
| Modifier and Type | Method and Description |
|---|---|
GetTemplateResponse.Builder |
description(String description)
A brief description of the template.
|
default GetTemplateResponse.Builder |
layoutConfiguration(Consumer<LayoutConfiguration.Builder> layoutConfiguration)
Configuration of layouts associated to the template.
|
GetTemplateResponse.Builder |
layoutConfiguration(LayoutConfiguration layoutConfiguration)
Configuration of layouts associated to the template.
|
GetTemplateResponse.Builder |
name(String name)
The name of the template.
|
GetTemplateResponse.Builder |
requiredFields(Collection<RequiredField> requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
|
GetTemplateResponse.Builder |
requiredFields(Consumer<RequiredField.Builder>... requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
|
GetTemplateResponse.Builder |
requiredFields(RequiredField... requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
|
GetTemplateResponse.Builder |
status(String status)
The status of the template.
|
GetTemplateResponse.Builder |
status(TemplateStatus status)
The status of the template.
|
GetTemplateResponse.Builder |
tags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource.
|
GetTemplateResponse.Builder |
templateArn(String templateArn)
The Amazon Resource Name (ARN) of the template.
|
GetTemplateResponse.Builder |
templateId(String templateId)
A unique identifier of a template.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetTemplateResponse.Builder description(String description)
A brief description of the template.
description - A brief description of the template.GetTemplateResponse.Builder layoutConfiguration(LayoutConfiguration layoutConfiguration)
Configuration of layouts associated to the template.
layoutConfiguration - Configuration of layouts associated to the template.default GetTemplateResponse.Builder layoutConfiguration(Consumer<LayoutConfiguration.Builder> layoutConfiguration)
Configuration of layouts associated to the template.
This is a convenience method that creates an instance of theLayoutConfiguration.Builder avoiding the
need to create one manually via LayoutConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to layoutConfiguration(LayoutConfiguration).
layoutConfiguration - a consumer that will call methods on LayoutConfiguration.BuilderlayoutConfiguration(LayoutConfiguration)GetTemplateResponse.Builder name(String name)
The name of the template.
name - The name of the template.GetTemplateResponse.Builder requiredFields(Collection<RequiredField> requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
requiredFields - A list of fields that must contain a value for a case to be successfully created with this template.GetTemplateResponse.Builder requiredFields(RequiredField... requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
requiredFields - A list of fields that must contain a value for a case to be successfully created with this template.GetTemplateResponse.Builder requiredFields(Consumer<RequiredField.Builder>... requiredFields)
A list of fields that must contain a value for a case to be successfully created with this template.
This is a convenience method that creates an instance of theRequiredField.Builder avoiding the need to create
one manually via RequiredField.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #requiredFields(List.
requiredFields - a consumer that will call methods on
RequiredField.Builder#requiredFields(java.util.Collection) GetTemplateResponse.Builder status(String status)
The status of the template.
status - The status of the template.TemplateStatus,
TemplateStatusGetTemplateResponse.Builder status(TemplateStatus status)
The status of the template.
status - The status of the template.TemplateStatus,
TemplateStatusGetTemplateResponse.Builder tags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
tags - A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or
control access for this resource.GetTemplateResponse.Builder templateArn(String templateArn)
The Amazon Resource Name (ARN) of the template.
templateArn - The Amazon Resource Name (ARN) of the template.GetTemplateResponse.Builder templateId(String templateId)
A unique identifier of a template.
templateId - A unique identifier of a template.Copyright © 2023. All rights reserved.