Interface CreateRelatedItemRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectCasesRequest.Builder,CopyableBuilder<CreateRelatedItemRequest.Builder,,CreateRelatedItemRequest> SdkBuilder<CreateRelatedItemRequest.Builder,,CreateRelatedItemRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRelatedItemRequest
public static interface CreateRelatedItemRequest.Builder
extends ConnectCasesRequest.Builder, SdkPojo, CopyableBuilder<CreateRelatedItemRequest.Builder,CreateRelatedItemRequest>
-
Method Summary
Modifier and TypeMethodDescriptionA unique identifier of the case.default CreateRelatedItemRequest.Buildercontent(Consumer<RelatedItemInputContent.Builder> content) The content of a related item to be created.content(RelatedItemInputContent content) The content of a related item to be created.The unique identifier of the Cases domain.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateRelatedItemRequest.BuilderperformedBy(Consumer<UserUnion.Builder> performedBy) Represents the creator of the related item.performedBy(UserUnion performedBy) Represents the creator of the related item.The type of a related item.type(RelatedItemType type) The type of a related item.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, sdkFields
-
Method Details
-
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.
-
content
The content of a related item to be created.
- Parameters:
content- The content of a related item to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The content of a related item to be created.
This is a convenience method that creates an instance of theRelatedItemInputContent.Builderavoiding the need to create one manually viaRelatedItemInputContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(RelatedItemInputContent).- Parameters:
content- a consumer that will call methods onRelatedItemInputContent.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.
-
performedBy
Represents the creator of the related item.
- Parameters:
performedBy- Represents the creator of the related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performedBy
Represents the creator of the related item.
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:
-
type
The type of a related item.
- Parameters:
type- The type of a related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of a related item.
- Parameters:
type- The type of a related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateRelatedItemRequest.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
CreateRelatedItemRequest.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.
-