Interface BatchCreateCampaignAssetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchCreateCampaignAssetResponse.Builder,,BatchCreateCampaignAssetResponse> PartnerCentralMarketingResponse.Builder,SdkBuilder<BatchCreateCampaignAssetResponse.Builder,,BatchCreateCampaignAssetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchCreateCampaignAssetResponse
-
Method Summary
Modifier and TypeMethodDescriptionOne entry per blueprint that could not be instantiated.errors(Consumer<BatchCreateCampaignAssetError.Builder>... errors) One entry per blueprint that could not be instantiated.errors(BatchCreateCampaignAssetError... errors) One entry per blueprint that could not be instantiated.successful(Collection<BatchCreateCampaignAssetResult> successful) One entry per asset that exists as a result of this call, whether created here or already present.successful(Consumer<BatchCreateCampaignAssetResult.Builder>... successful) One entry per asset that exists as a result of this call, whether created here or already present.successful(BatchCreateCampaignAssetResult... successful) One entry per asset that exists as a result of this call, whether created here or already present.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralmarketing.model.PartnerCentralMarketingResponse.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
-
errors
One entry per blueprint that could not be instantiated. Empty, never absent, when all entries succeeded.
- Parameters:
errors- One entry per blueprint that could not be instantiated. Empty, never absent, when all entries succeeded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
One entry per blueprint that could not be instantiated. Empty, never absent, when all entries succeeded.
- Parameters:
errors- One entry per blueprint that could not be instantiated. Empty, never absent, when all entries succeeded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchCreateCampaignAssetResponse.Builder errors(Consumer<BatchCreateCampaignAssetError.Builder>... errors) One entry per blueprint that could not be instantiated. Empty, never absent, when all entries succeeded.
This is a convenience method that creates an instance of theBatchCreateCampaignAssetError.Builderavoiding the need to create one manually viaBatchCreateCampaignAssetError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchCreateCampaignAssetError>).- Parameters:
errors- a consumer that will call methods onBatchCreateCampaignAssetError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
successful
BatchCreateCampaignAssetResponse.Builder successful(Collection<BatchCreateCampaignAssetResult> successful) One entry per asset that exists as a result of this call, whether created here or already present.
- Parameters:
successful- One entry per asset that exists as a result of this call, whether created here or already present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
One entry per asset that exists as a result of this call, whether created here or already present.
- Parameters:
successful- One entry per asset that exists as a result of this call, whether created here or already present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
BatchCreateCampaignAssetResponse.Builder successful(Consumer<BatchCreateCampaignAssetResult.Builder>... successful) One entry per asset that exists as a result of this call, whether created here or already present.
This is a convenience method that creates an instance of theBatchCreateCampaignAssetResult.Builderavoiding the need to create one manually viaBatchCreateCampaignAssetResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessful(List<BatchCreateCampaignAssetResult>).- Parameters:
successful- a consumer that will call methods onBatchCreateCampaignAssetResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-