Interface CreateFieldRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectCasesRequest.Builder,CopyableBuilder<CreateFieldRequest.Builder,,CreateFieldRequest> SdkBuilder<CreateFieldRequest.Builder,,CreateFieldRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateFieldRequest
@Mutable
@NotThreadSafe
public static interface CreateFieldRequest.Builder
extends ConnectCasesRequest.Builder, SdkPojo, CopyableBuilder<CreateFieldRequest.Builder,CreateFieldRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateFieldRequest.Builderattributes(Consumer<FieldAttributes.Builder> attributes) Union of field attributes.attributes(FieldAttributes attributes) Union of field attributes.description(String description) The description of the field.The unique identifier of the Cases domain.The name of the field.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Defines the data type, some system constraints, and default display of the field.Defines the data type, some system constraints, and default display of the field.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
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 field.
- Parameters:
name- The name of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Defines the data type, some system constraints, and default display of the field.
- Parameters:
type- Defines the data type, some system constraints, and default display of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Defines the data type, some system constraints, and default display of the field.
- Parameters:
type- Defines the data type, some system constraints, and default display of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the field.
- Parameters:
description- The description of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Union of field attributes.
- Parameters:
attributes- Union of field attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Union of field attributes.
This is a convenience method that creates an instance of theFieldAttributes.Builderavoiding the need to create one manually viaFieldAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(FieldAttributes).- Parameters:
attributes- a consumer that will call methods onFieldAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateFieldRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateFieldRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-