Interface GetTemplateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectCasesResponse.Builder,CopyableBuilder<GetTemplateResponse.Builder,GetTemplateResponse>,SdkBuilder<GetTemplateResponse.Builder,GetTemplateResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetTemplateResponse
public static interface GetTemplateResponse.Builder extends ConnectCasesResponse.Builder, SdkPojo, CopyableBuilder<GetTemplateResponse.Builder,GetTemplateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetTemplateResponse.BuildercreatedTime(Instant createdTime)Timestamp at which the resource was created.GetTemplateResponse.Builderdeleted(Boolean deleted)Denotes whether or not the resource has been deleted.GetTemplateResponse.Builderdescription(String description)A brief description of the template.GetTemplateResponse.BuilderlastModifiedTime(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.GetTemplateResponse.BuilderlayoutConfiguration(LayoutConfiguration layoutConfiguration)Configuration of layouts associated to the template.GetTemplateResponse.Buildername(String name)The name of the template.GetTemplateResponse.BuilderrequiredFields(Collection<RequiredField> requiredFields)A list of fields that must contain a value for a case to be successfully created with this template.GetTemplateResponse.BuilderrequiredFields(Consumer<RequiredField.Builder>... requiredFields)A list of fields that must contain a value for a case to be successfully created with this template.GetTemplateResponse.BuilderrequiredFields(RequiredField... requiredFields)A list of fields that must contain a value for a case to be successfully created with this template.GetTemplateResponse.Builderstatus(String status)The status of the template.GetTemplateResponse.Builderstatus(TemplateStatus status)The status of the template.GetTemplateResponse.Buildertags(Map<String,String> tags)A map of of key-value pairs that represent tags on a resource.GetTemplateResponse.BuildertemplateArn(String templateArn)The Amazon Resource Name (ARN) of the template.GetTemplateResponse.BuildertemplateId(String templateId)A unique identifier of a template.-
Methods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
createdTime
GetTemplateResponse.Builder createdTime(Instant 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
GetTemplateResponse.Builder deleted(Boolean 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
GetTemplateResponse.Builder description(String 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
GetTemplateResponse.Builder lastModifiedTime(Instant 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
GetTemplateResponse.Builder layoutConfiguration(LayoutConfiguration 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:
layoutConfiguration(LayoutConfiguration)
-
name
GetTemplateResponse.Builder name(String 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
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.
- 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
GetTemplateResponse.Builder requiredFields(RequiredField... 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
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.Builderavoiding the need to create one manually viaRequiredField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#requiredFields(List.) - 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:
#requiredFields(java.util.Collection)
-
status
GetTemplateResponse.Builder status(String 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:
TemplateStatus,TemplateStatus
-
status
GetTemplateResponse.Builder status(TemplateStatus 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:
TemplateStatus,TemplateStatus
-
tags
GetTemplateResponse.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.
- 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
GetTemplateResponse.Builder templateArn(String 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
GetTemplateResponse.Builder templateId(String 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.
-
-