Interface PutProfileOutboundRequestBatchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectCampaignsV2Response.Builder
,CopyableBuilder<PutProfileOutboundRequestBatchResponse.Builder,
,PutProfileOutboundRequestBatchResponse> SdkBuilder<PutProfileOutboundRequestBatchResponse.Builder,
,PutProfileOutboundRequestBatchResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
PutProfileOutboundRequestBatchResponse
@Mutable
@NotThreadSafe
public static interface PutProfileOutboundRequestBatchResponse.Builder
extends ConnectCampaignsV2Response.Builder, SdkPojo, CopyableBuilder<PutProfileOutboundRequestBatchResponse.Builder,PutProfileOutboundRequestBatchResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailedRequests
(Collection<FailedProfileOutboundRequest> failedRequests) Sets the value of the FailedRequests property for this object.failedRequests
(Consumer<FailedProfileOutboundRequest.Builder>... failedRequests) Sets the value of the FailedRequests property for this object.failedRequests
(FailedProfileOutboundRequest... failedRequests) Sets the value of the FailedRequests property for this object.successfulRequests
(Collection<SuccessfulProfileOutboundRequest> successfulRequests) Sets the value of the SuccessfulRequests property for this object.successfulRequests
(Consumer<SuccessfulProfileOutboundRequest.Builder>... successfulRequests) Sets the value of the SuccessfulRequests property for this object.successfulRequests
(SuccessfulProfileOutboundRequest... successfulRequests) Sets the value of the SuccessfulRequests property for this object.Methods inherited from interface software.amazon.awssdk.services.connectcampaignsv2.model.ConnectCampaignsV2Response.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
successfulRequests
PutProfileOutboundRequestBatchResponse.Builder successfulRequests(Collection<SuccessfulProfileOutboundRequest> 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
PutProfileOutboundRequestBatchResponse.Builder successfulRequests(SuccessfulProfileOutboundRequest... 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
PutProfileOutboundRequestBatchResponse.Builder successfulRequests(Consumer<SuccessfulProfileOutboundRequest.Builder>... successfulRequests) Sets the value of the SuccessfulRequests property for this object. This is a convenience method that creates an instance of theSuccessfulProfileOutboundRequest.Builder
avoiding the need to create one manually viaSuccessfulProfileOutboundRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuccessfulRequests(List<SuccessfulProfileOutboundRequest>)
.- Parameters:
successfulRequests
- a consumer that will call methods onSuccessfulProfileOutboundRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failedRequests
PutProfileOutboundRequestBatchResponse.Builder failedRequests(Collection<FailedProfileOutboundRequest> 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
PutProfileOutboundRequestBatchResponse.Builder failedRequests(FailedProfileOutboundRequest... 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
PutProfileOutboundRequestBatchResponse.Builder failedRequests(Consumer<FailedProfileOutboundRequest.Builder>... failedRequests) Sets the value of the FailedRequests property for this object. This is a convenience method that creates an instance of theFailedProfileOutboundRequest.Builder
avoiding the need to create one manually viaFailedProfileOutboundRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailedRequests(List<FailedProfileOutboundRequest>)
.- Parameters:
failedRequests
- a consumer that will call methods onFailedProfileOutboundRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-