Interface CreateLayoutRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectCasesRequest.Builder
,CopyableBuilder<CreateLayoutRequest.Builder,
,CreateLayoutRequest> SdkBuilder<CreateLayoutRequest.Builder,
,CreateLayoutRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLayoutRequest
public static interface CreateLayoutRequest.Builder
extends ConnectCasesRequest.Builder, SdkPojo, CopyableBuilder<CreateLayoutRequest.Builder,CreateLayoutRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateLayoutRequest.Builder
content
(Consumer<LayoutContent.Builder> content) Information about which fields will be present in the layout, and information about the order of the fields.content
(LayoutContent content) Information about which fields will be present in the layout, and information about the order of the fields.The unique identifier of the Cases domain.The name of the layout.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesRequest.Builder
build
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
-
Method Details
-
content
Information about which fields will be present in the layout, and information about the order of the fields.
- Parameters:
content
- Information about which fields will be present in the layout, and information about the order of the fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
Information about which fields will be present in the layout, and information about the order of the fields.
This is a convenience method that creates an instance of theLayoutContent.Builder
avoiding the need to create one manually viaLayoutContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontent(LayoutContent)
.- Parameters:
content
- a consumer that will call methods onLayoutContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domainId
The unique identifier of the Cases domain.
- Parameters:
domainId
- The unique identifier of the Cases domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the layout. It must be unique for the Cases domain.
- Parameters:
name
- The name of the layout. It must be unique for the Cases domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateLayoutRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLayoutRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-