Interface CreateCaseRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectCasesRequest.Builder,CopyableBuilder<CreateCaseRequest.Builder,CreateCaseRequest>,SdkBuilder<CreateCaseRequest.Builder,CreateCaseRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCaseRequest
public static interface CreateCaseRequest.Builder extends ConnectCasesRequest.Builder, SdkPojo, CopyableBuilder<CreateCaseRequest.Builder,CreateCaseRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateCaseRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateCaseRequest.BuilderdomainId(String domainId)The unique identifier of the Cases domain.CreateCaseRequest.Builderfields(Collection<FieldValue> fields)An array of objects with field ID (matching ListFields/DescribeField) and value union data.CreateCaseRequest.Builderfields(Consumer<FieldValue.Builder>... fields)An array of objects with field ID (matching ListFields/DescribeField) and value union data.CreateCaseRequest.Builderfields(FieldValue... fields)An array of objects with field ID (matching ListFields/DescribeField) and value union data.CreateCaseRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCaseRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateCaseRequest.BuilderperformedBy(Consumer<UserUnion.Builder> performedBy)Sets the value of the PerformedBy property for this object.CreateCaseRequest.BuilderperformedBy(UserUnion performedBy)Sets the value of the PerformedBy property for this object.CreateCaseRequest.BuildertemplateId(String templateId)A unique identifier of a template.-
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 Detail
-
clientToken
CreateCaseRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
CreateCaseRequest.Builder domainId(String 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.
-
fields
CreateCaseRequest.Builder fields(Collection<FieldValue> fields)
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
- Parameters:
fields- An array of objects with field ID (matching ListFields/DescribeField) and value union data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
CreateCaseRequest.Builder fields(FieldValue... fields)
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
- Parameters:
fields- An array of objects with field ID (matching ListFields/DescribeField) and value union data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
CreateCaseRequest.Builder fields(Consumer<FieldValue.Builder>... fields)
An array of objects with field ID (matching ListFields/DescribeField) and value union data.
This is a convenience method that creates an instance of theFieldValue.Builderavoiding the need to create one manually viaFieldValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fields(List.) - Parameters:
fields- a consumer that will call methods onFieldValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fields(java.util.Collection)
-
performedBy
CreateCaseRequest.Builder performedBy(UserUnion performedBy)
Sets the value of the PerformedBy property for this object.- Parameters:
performedBy- The new value for the PerformedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performedBy
default CreateCaseRequest.Builder performedBy(Consumer<UserUnion.Builder> performedBy)
Sets the value of the PerformedBy property for this object. This is a convenience method that creates an instance of theUserUnion.Builderavoiding the need to create one manually viaUserUnion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperformedBy(UserUnion).- Parameters:
performedBy- a consumer that will call methods onUserUnion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
performedBy(UserUnion)
-
templateId
CreateCaseRequest.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.
-
overrideConfiguration
CreateCaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-