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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutDialRequestBatchResponse.BuilderfailedRequests(Collection<FailedRequest> failedRequests)Sets the value of the FailedRequests property for this object.PutDialRequestBatchResponse.BuilderfailedRequests(Consumer<FailedRequest.Builder>... failedRequests)Sets the value of the FailedRequests property for this object.PutDialRequestBatchResponse.BuilderfailedRequests(FailedRequest... failedRequests)Sets the value of the FailedRequests property for this object.PutDialRequestBatchResponse.BuildersuccessfulRequests(Collection<SuccessfulRequest> successfulRequests)Sets the value of the SuccessfulRequests property for this object.PutDialRequestBatchResponse.BuildersuccessfulRequests(Consumer<SuccessfulRequest.Builder>... successfulRequests)Sets the value of the SuccessfulRequests property for this object.PutDialRequestBatchResponse.BuildersuccessfulRequests(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, 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 Detail
-
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
PutDialRequestBatchResponse.Builder successfulRequests(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
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 to#successfulRequests(List.) - 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:
#successfulRequests(java.util.Collection)
-
failedRequests
PutDialRequestBatchResponse.Builder failedRequests(Collection<FailedRequest> 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(FailedRequest... 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 to#failedRequests(List.) - 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:
#failedRequests(java.util.Collection)
-
-