Interface BatchCreateRelatedItemErrorEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchCreateRelatedItemErrorEntry.Builder,,BatchCreateRelatedItemErrorEntry> SdkBuilder<BatchCreateRelatedItemErrorEntry.Builder,,BatchCreateRelatedItemErrorEntry> SdkPojo
- Enclosing class:
BatchCreateRelatedItemErrorEntry
@Mutable
@NotThreadSafe
public static interface BatchCreateRelatedItemErrorEntry.Builder
extends SdkPojo, CopyableBuilder<BatchCreateRelatedItemErrorEntry.Builder,BatchCreateRelatedItemErrorEntry>
-
Method Summary
Modifier and TypeMethodDescriptioncaseIdentifier(Consumer<CaseIdentifier.Builder> caseIdentifier) The identifiers of the case that the related item wasn't created for.caseIdentifier(CaseIdentifier caseIdentifier) The identifiers of the case that the related item wasn't created for.The error code.errorMessage(String errorMessage) A message that describes the error.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 identifiers of the case that the related item wasn't created for.
- Parameters:
caseIdentifier- The identifiers of the case that the related item wasn't created for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
caseIdentifier
default BatchCreateRelatedItemErrorEntry.Builder caseIdentifier(Consumer<CaseIdentifier.Builder> caseIdentifier) The identifiers of the case that the related item wasn't created for.
This is a convenience method that creates an instance of theCaseIdentifier.Builderavoiding the need to create one manually viaCaseIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocaseIdentifier(CaseIdentifier).- Parameters:
caseIdentifier- a consumer that will call methods onCaseIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The error code. For possible values, see
failedItems.- Parameters:
errorCode- The error code. For possible values, seefailedItems.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
A message that describes the error.
- Parameters:
errorMessage- A message that describes the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-