Interface GetTemplateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectCasesResponse.Builder,CopyableBuilder<GetTemplateResponse.Builder,,GetTemplateResponse> SdkBuilder<GetTemplateResponse.Builder,,GetTemplateResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTemplateResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTime(Instant createdTime) Timestamp at which the resource was created.Denotes whether or not the resource has been deleted.description(String description) A brief description of the template.lastModifiedTime(Instant lastModifiedTime) Timestamp at which the resource was created or last modified.default GetTemplateResponse.BuilderlayoutConfiguration(Consumer<LayoutConfiguration.Builder> layoutConfiguration) Configuration of layouts associated to the template.layoutConfiguration(LayoutConfiguration layoutConfiguration) Configuration of layouts associated to the template.The name of the template.requiredFields(Collection<RequiredField> requiredFields) A list of fields that must contain a value for a case to be successfully created with this template.requiredFields(Consumer<RequiredField.Builder>... requiredFields) A list of fields that must contain a value for a case to be successfully created with this template.requiredFields(RequiredField... requiredFields) A list of fields that must contain a value for a case to be successfully created with this template.The status of the template.status(TemplateStatus status) The status of the template.A map of of key-value pairs that represent tags on a resource.templateArn(String templateArn) The Amazon Resource Name (ARN) of the template.templateId(String templateId) A unique identifier of a template.Methods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
createdTime
Timestamp at which the resource was created.
- Parameters:
createdTime- Timestamp at which the resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleted
Denotes whether or not the resource has been deleted.
- Parameters:
deleted- Denotes whether or not the resource has been deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A brief description of the template.
- Parameters:
description- A brief description of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
Timestamp at which the resource was created or last modified.
- Parameters:
lastModifiedTime- Timestamp at which the resource was created or last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layoutConfiguration
Configuration of layouts associated to the template.
- Parameters:
layoutConfiguration- Configuration of layouts associated to the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layoutConfiguration
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.Builderavoiding the need to create one manually viaLayoutConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolayoutConfiguration(LayoutConfiguration).- Parameters:
layoutConfiguration- a consumer that will call methods onLayoutConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the template.
- Parameters:
name- The name of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredFields
A list of fields that must contain a value for a case to be successfully created with this template.
- Parameters:
requiredFields- A list of fields that must contain a value for a case to be successfully created with this template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredFields
A list of fields that must contain a value for a case to be successfully created with this template.
- Parameters:
requiredFields- A list of fields that must contain a value for a case to be successfully created with this template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaRequiredField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequiredFields(List<RequiredField>).- Parameters:
requiredFields- a consumer that will call methods onRequiredField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the template.
- Parameters:
status- The status of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the template.
- Parameters:
status- The status of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateArn
The Amazon Resource Name (ARN) of the template.
- Parameters:
templateArn- The Amazon Resource Name (ARN) of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateId
A unique identifier of a template.
- Parameters:
templateId- A unique identifier of a template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-