Interface PutOutboundRequestBatchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectCampaignsV2Response.Builder,CopyableBuilder<PutOutboundRequestBatchResponse.Builder,,PutOutboundRequestBatchResponse> SdkBuilder<PutOutboundRequestBatchResponse.Builder,,PutOutboundRequestBatchResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutOutboundRequestBatchResponse
@Mutable
@NotThreadSafe
public static interface PutOutboundRequestBatchResponse.Builder
extends ConnectCampaignsV2Response.Builder, SdkPojo, CopyableBuilder<PutOutboundRequestBatchResponse.Builder,PutOutboundRequestBatchResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailedRequests(Collection<FailedRequest> failedRequests) Sets the value of the FailedRequests property for this object.failedRequests(Consumer<FailedRequest.Builder>... failedRequests) Sets the value of the FailedRequests property for this object.failedRequests(FailedRequest... failedRequests) Sets the value of the FailedRequests property for this object.successfulRequests(Collection<SuccessfulRequest> successfulRequests) Sets the value of the SuccessfulRequests property for this object.successfulRequests(Consumer<SuccessfulRequest.Builder>... successfulRequests) Sets the value of the SuccessfulRequests property for this object.successfulRequests(SuccessfulRequest... 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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
successfulRequests
PutOutboundRequestBatchResponse.Builder successfulRequests(Collection<SuccessfulRequest> 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
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
PutOutboundRequestBatchResponse.Builder successfulRequests(Consumer<SuccessfulRequest.Builder>... successfulRequests) Sets the value of the SuccessfulRequests property for this object. This is a convenience method that creates an instance of theSuccessfulRequest.Builderavoiding the need to create one manually viaSuccessfulRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessfulRequests(List<SuccessfulRequest>).- Parameters:
successfulRequests- a consumer that will call methods onSuccessfulRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
PutOutboundRequestBatchResponse.Builder failedRequests(Consumer<FailedRequest.Builder>... failedRequests) Sets the value of the FailedRequests property for this object. This is a convenience method that creates an instance of theFailedRequest.Builderavoiding the need to create one manually viaFailedRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedRequests(List<FailedRequest>).- Parameters:
failedRequests- a consumer that will call methods onFailedRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-