Interface BatchCreateRelatedItemIdentifier.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchCreateRelatedItemIdentifier.Builder,,BatchCreateRelatedItemIdentifier> SdkBuilder<BatchCreateRelatedItemIdentifier.Builder,,BatchCreateRelatedItemIdentifier> SdkPojo
- Enclosing class:
BatchCreateRelatedItemIdentifier
@Mutable
@NotThreadSafe
public static interface BatchCreateRelatedItemIdentifier.Builder
extends SdkPojo, CopyableBuilder<BatchCreateRelatedItemIdentifier.Builder,BatchCreateRelatedItemIdentifier>
-
Method Summary
Modifier and TypeMethodDescriptioncaseIdentifier(Consumer<CaseIdentifierUnion.Builder> caseIdentifier) The identifier of the case to associate the related item with.caseIdentifier(CaseIdentifierUnion caseIdentifier) The identifier of the case to associate the related item with.Methods 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
-
caseIdentifier
The identifier of the case to associate the related item with. Specify either the case ID or the reference ID.
- Parameters:
caseIdentifier- The identifier of the case to associate the related item with. Specify either the case ID or the reference ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
caseIdentifier
default BatchCreateRelatedItemIdentifier.Builder caseIdentifier(Consumer<CaseIdentifierUnion.Builder> caseIdentifier) The identifier of the case to associate the related item with. Specify either the case ID or the reference ID.
This is a convenience method that creates an instance of theCaseIdentifierUnion.Builderavoiding the need to create one manually viaCaseIdentifierUnion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocaseIdentifier(CaseIdentifierUnion).- Parameters:
caseIdentifier- a consumer that will call methods onCaseIdentifierUnion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-