Interface BatchPutProfileObjectResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchPutProfileObjectResponse.Builder,,BatchPutProfileObjectResponse> CustomerProfilesResponse.Builder,SdkBuilder<BatchPutProfileObjectResponse.Builder,,BatchPutProfileObjectResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchPutProfileObjectResponse
@Mutable
@NotThreadSafe
public static interface BatchPutProfileObjectResponse.Builder
extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<BatchPutProfileObjectResponse.Builder,BatchPutProfileObjectResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA list of items that failed to be added to the domain.failed(Consumer<BatchPutProfileObjectErrorItem.Builder>... failed) A list of items that failed to be added to the domain.failed(BatchPutProfileObjectErrorItem... failed) A list of items that failed to be added to the domain.successful(Collection<BatchPutProfileObjectResponseItem> successful) A list of items that were successfully added to the domain.successful(Consumer<BatchPutProfileObjectResponseItem.Builder>... successful) A list of items that were successfully added to the domain.successful(BatchPutProfileObjectResponseItem... successful) A list of items that were successfully added to the domain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
successful
BatchPutProfileObjectResponse.Builder successful(Collection<BatchPutProfileObjectResponseItem> successful) A list of items that were successfully added to the domain.
- Parameters:
successful- A list of items that were successfully added to the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
A list of items that were successfully added to the domain.
- Parameters:
successful- A list of items that were successfully added to the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
BatchPutProfileObjectResponse.Builder successful(Consumer<BatchPutProfileObjectResponseItem.Builder>... successful) A list of items that were successfully added to the domain.
This is a convenience method that creates an instance of theBatchPutProfileObjectResponseItem.Builderavoiding the need to create one manually viaBatchPutProfileObjectResponseItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessful(List<BatchPutProfileObjectResponseItem>).- Parameters:
successful- a consumer that will call methods onBatchPutProfileObjectResponseItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failed
A list of items that failed to be added to the domain.
- Parameters:
failed- A list of items that failed to be added to the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of items that failed to be added to the domain.
- Parameters:
failed- A list of items that failed to be added to the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
BatchPutProfileObjectResponse.Builder failed(Consumer<BatchPutProfileObjectErrorItem.Builder>... failed) A list of items that failed to be added to the domain.
This is a convenience method that creates an instance of theBatchPutProfileObjectErrorItem.Builderavoiding the need to create one manually viaBatchPutProfileObjectErrorItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailed(List<BatchPutProfileObjectErrorItem>).- Parameters:
failed- a consumer that will call methods onBatchPutProfileObjectErrorItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-