Interface UpdateCaseRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectCasesRequest.Builder,CopyableBuilder<UpdateCaseRequest.Builder,UpdateCaseRequest>,SdkBuilder<UpdateCaseRequest.Builder,UpdateCaseRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateCaseRequest
public static interface UpdateCaseRequest.Builder extends ConnectCasesRequest.Builder, SdkPojo, CopyableBuilder<UpdateCaseRequest.Builder,UpdateCaseRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateCaseRequest.BuildercaseId(String caseId)A unique identifier of the case.UpdateCaseRequest.BuilderdomainId(String domainId)The unique identifier of the Cases domain.UpdateCaseRequest.Builderfields(Collection<FieldValue> fields)An array of objects withfieldId(matching ListFields/DescribeField) and value union data, structured identical toCreateCase.UpdateCaseRequest.Builderfields(Consumer<FieldValue.Builder>... fields)An array of objects withfieldId(matching ListFields/DescribeField) and value union data, structured identical toCreateCase.UpdateCaseRequest.Builderfields(FieldValue... fields)An array of objects withfieldId(matching ListFields/DescribeField) and value union data, structured identical toCreateCase.UpdateCaseRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateCaseRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateCaseRequest.BuilderperformedBy(Consumer<UserUnion.Builder> performedBy)Sets the value of the PerformedBy property for this object.UpdateCaseRequest.BuilderperformedBy(UserUnion performedBy)Sets the value of the PerformedBy property for this object.-
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
-
caseId
UpdateCaseRequest.Builder caseId(String caseId)
A unique identifier of the case.
- Parameters:
caseId- A unique identifier of the case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
UpdateCaseRequest.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
UpdateCaseRequest.Builder fields(Collection<FieldValue> fields)
An array of objects with
fieldId(matching ListFields/DescribeField) and value union data, structured identical toCreateCase.- Parameters:
fields- An array of objects withfieldId(matching ListFields/DescribeField) and value union data, structured identical toCreateCase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
UpdateCaseRequest.Builder fields(FieldValue... fields)
An array of objects with
fieldId(matching ListFields/DescribeField) and value union data, structured identical toCreateCase.- Parameters:
fields- An array of objects withfieldId(matching ListFields/DescribeField) and value union data, structured identical toCreateCase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
UpdateCaseRequest.Builder fields(Consumer<FieldValue.Builder>... fields)
An array of objects with
This is a convenience method that creates an instance of thefieldId(matching ListFields/DescribeField) and value union data, structured identical toCreateCase.FieldValue.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
UpdateCaseRequest.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 UpdateCaseRequest.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)
-
overrideConfiguration
UpdateCaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateCaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-