Interface GetCampaignStateBatchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectCampaignsResponse.Builder
,CopyableBuilder<GetCampaignStateBatchResponse.Builder,
,GetCampaignStateBatchResponse> SdkBuilder<GetCampaignStateBatchResponse.Builder,
,GetCampaignStateBatchResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCampaignStateBatchResponse
public static interface GetCampaignStateBatchResponse.Builder
extends ConnectCampaignsResponse.Builder, SdkPojo, CopyableBuilder<GetCampaignStateBatchResponse.Builder,GetCampaignStateBatchResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailedRequests
(Collection<FailedCampaignStateResponse> failedRequests) Sets the value of the FailedRequests property for this object.failedRequests
(Consumer<FailedCampaignStateResponse.Builder>... failedRequests) Sets the value of the FailedRequests property for this object.failedRequests
(FailedCampaignStateResponse... failedRequests) Sets the value of the FailedRequests property for this object.successfulRequests
(Collection<SuccessfulCampaignStateResponse> successfulRequests) Sets the value of the SuccessfulRequests property for this object.successfulRequests
(Consumer<SuccessfulCampaignStateResponse.Builder>... successfulRequests) Sets the value of the SuccessfulRequests property for this object.successfulRequests
(SuccessfulCampaignStateResponse... successfulRequests) Sets the value of the SuccessfulRequests property for this object.Methods inherited from interface software.amazon.awssdk.services.connectcampaigns.model.ConnectCampaignsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
successfulRequests
GetCampaignStateBatchResponse.Builder successfulRequests(Collection<SuccessfulCampaignStateResponse> successfulRequests) Sets the value of the SuccessfulRequests property for this object.- Parameters:
successfulRequests
- The new value for the SuccessfulRequests property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulRequests
GetCampaignStateBatchResponse.Builder successfulRequests(SuccessfulCampaignStateResponse... successfulRequests) Sets the value of the SuccessfulRequests property for this object.- Parameters:
successfulRequests
- The new value for the SuccessfulRequests property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulRequests
GetCampaignStateBatchResponse.Builder successfulRequests(Consumer<SuccessfulCampaignStateResponse.Builder>... successfulRequests) Sets the value of the SuccessfulRequests property for this object. This is a convenience method that creates an instance of theSuccessfulCampaignStateResponse.Builder
avoiding the need to create one manually viaSuccessfulCampaignStateResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuccessfulRequests(List<SuccessfulCampaignStateResponse>)
.- Parameters:
successfulRequests
- a consumer that will call methods onSuccessfulCampaignStateResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failedRequests
GetCampaignStateBatchResponse.Builder failedRequests(Collection<FailedCampaignStateResponse> failedRequests) Sets the value of the FailedRequests property for this object.- Parameters:
failedRequests
- The new value for the FailedRequests property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedRequests
Sets the value of the FailedRequests property for this object.- Parameters:
failedRequests
- The new value for the FailedRequests property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedRequests
GetCampaignStateBatchResponse.Builder failedRequests(Consumer<FailedCampaignStateResponse.Builder>... failedRequests) Sets the value of the FailedRequests property for this object. This is a convenience method that creates an instance of theFailedCampaignStateResponse.Builder
avoiding the need to create one manually viaFailedCampaignStateResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailedRequests(List<FailedCampaignStateResponse>)
.- Parameters:
failedRequests
- a consumer that will call methods onFailedCampaignStateResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-