public static interface GetCampaignStateBatchResponse.Builder extends ConnectCampaignsResponse.Builder, SdkPojo, CopyableBuilder<GetCampaignStateBatchResponse.Builder,GetCampaignStateBatchResponse>
| Modifier and Type | Method and Description |
|---|---|
GetCampaignStateBatchResponse.Builder |
failedRequests(Collection<FailedCampaignStateResponse> failedRequests)
Sets the value of the FailedRequests property for this object.
|
GetCampaignStateBatchResponse.Builder |
failedRequests(Consumer<FailedCampaignStateResponse.Builder>... failedRequests)
Sets the value of the FailedRequests property for this object.
|
GetCampaignStateBatchResponse.Builder |
failedRequests(FailedCampaignStateResponse... failedRequests)
Sets the value of the FailedRequests property for this object.
|
GetCampaignStateBatchResponse.Builder |
successfulRequests(Collection<SuccessfulCampaignStateResponse> successfulRequests)
Sets the value of the SuccessfulRequests property for this object.
|
GetCampaignStateBatchResponse.Builder |
successfulRequests(Consumer<SuccessfulCampaignStateResponse.Builder>... successfulRequests)
Sets the value of the SuccessfulRequests property for this object.
|
GetCampaignStateBatchResponse.Builder |
successfulRequests(SuccessfulCampaignStateResponse... successfulRequests)
Sets the value of the SuccessfulRequests property for this object.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetCampaignStateBatchResponse.Builder failedRequests(Collection<FailedCampaignStateResponse> failedRequests)
failedRequests - The new value for the FailedRequests property for this object.GetCampaignStateBatchResponse.Builder failedRequests(FailedCampaignStateResponse... failedRequests)
failedRequests - The new value for the FailedRequests property for this object.GetCampaignStateBatchResponse.Builder failedRequests(Consumer<FailedCampaignStateResponse.Builder>... failedRequests)
FailedCampaignStateResponse.Builder avoiding
the need to create one manually via
FailedCampaignStateResponse.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #failedRequests(List.
failedRequests - a consumer that will call methods on
FailedCampaignStateResponse.Builder#failedRequests(java.util.Collection) GetCampaignStateBatchResponse.Builder successfulRequests(Collection<SuccessfulCampaignStateResponse> successfulRequests)
successfulRequests - The new value for the SuccessfulRequests property for this object.GetCampaignStateBatchResponse.Builder successfulRequests(SuccessfulCampaignStateResponse... successfulRequests)
successfulRequests - The new value for the SuccessfulRequests property for this object.GetCampaignStateBatchResponse.Builder successfulRequests(Consumer<SuccessfulCampaignStateResponse.Builder>... successfulRequests)
SuccessfulCampaignStateResponse.Builder
avoiding the need to create one manually via
SuccessfulCampaignStateResponse.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #successfulRequests(List.
successfulRequests - a consumer that will call methods on
SuccessfulCampaignStateResponse.Builder#successfulRequests(java.util.Collection) Copyright © 2023. All rights reserved.