Interface PutDialRequestBatchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectCampaignsResponse.Builder,CopyableBuilder<PutDialRequestBatchResponse.Builder,,PutDialRequestBatchResponse> SdkBuilder<PutDialRequestBatchResponse.Builder,,PutDialRequestBatchResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutDialRequestBatchResponse
public static interface PutDialRequestBatchResponse.Builder
extends ConnectCampaignsResponse.Builder, SdkPojo, CopyableBuilder<PutDialRequestBatchResponse.Builder,PutDialRequestBatchResponse>
-
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.connectcampaigns.model.ConnectCampaignsResponse.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
successfulRequests
PutDialRequestBatchResponse.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
PutDialRequestBatchResponse.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
PutDialRequestBatchResponse.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:
-