Interface GetCampaignStateBatchResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- ConnectCampaignsV2Response.Builder,- CopyableBuilder<GetCampaignStateBatchResponse.Builder,,- GetCampaignStateBatchResponse> - SdkBuilder<GetCampaignStateBatchResponse.Builder,,- GetCampaignStateBatchResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetCampaignStateBatchResponse
@Mutable
@NotThreadSafe
public static interface GetCampaignStateBatchResponse.Builder
extends ConnectCampaignsV2Response.Builder, SdkPojo, CopyableBuilder<GetCampaignStateBatchResponse.Builder,GetCampaignStateBatchResponse> 
- 
Method SummaryModifier 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.connectcampaignsv2.model.ConnectCampaignsV2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
successfulRequestsGetCampaignStateBatchResponse.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.
 
- 
successfulRequestsGetCampaignStateBatchResponse.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.
 
- 
successfulRequestsGetCampaignStateBatchResponse.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.Builderavoiding the need to create one manually viaSuccessfulCampaignStateResponse.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessfulRequests(List<SuccessfulCampaignStateResponse>).- Parameters:
- successfulRequests- a consumer that will call methods on- SuccessfulCampaignStateResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
failedRequestsGetCampaignStateBatchResponse.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.
 
- 
failedRequestsSets 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.
 
- 
failedRequestsGetCampaignStateBatchResponse.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.Builderavoiding the need to create one manually viaFailedCampaignStateResponse.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedRequests(List<FailedCampaignStateResponse>).- Parameters:
- failedRequests- a consumer that will call methods on- FailedCampaignStateResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-