Interface BatchCreateRelatedItemSuccessEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchCreateRelatedItemSuccessEntry.Builder,,BatchCreateRelatedItemSuccessEntry> SdkBuilder<BatchCreateRelatedItemSuccessEntry.Builder,,BatchCreateRelatedItemSuccessEntry> SdkPojo
- Enclosing class:
BatchCreateRelatedItemSuccessEntry
@Mutable
@NotThreadSafe
public static interface BatchCreateRelatedItemSuccessEntry.Builder
extends SdkPojo, CopyableBuilder<BatchCreateRelatedItemSuccessEntry.Builder,BatchCreateRelatedItemSuccessEntry>
-
Method Summary
Modifier and TypeMethodDescriptioncaseIdentifier(Consumer<CaseIdentifier.Builder> caseIdentifier) The identifiers of the case that the related item is associated with.caseIdentifier(CaseIdentifier caseIdentifier) The identifiers of the case that the related item is associated with.relatedItemArn(String relatedItemArn) The Amazon Resource Name (ARN) of the related item.relatedItemId(String relatedItemId) The unique identifier of the related item.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 is associated with.
- Parameters:
caseIdentifier- The identifiers of the case that the related item is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
caseIdentifier
default BatchCreateRelatedItemSuccessEntry.Builder caseIdentifier(Consumer<CaseIdentifier.Builder> caseIdentifier) The identifiers of the case that the related item is associated with.
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:
-