Interface PutProfileOutboundRequestBatchResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectCampaignsV2Response.Builder,CopyableBuilder<PutProfileOutboundRequestBatchResponse.Builder,PutProfileOutboundRequestBatchResponse>,SdkBuilder<PutProfileOutboundRequestBatchResponse.Builder,PutProfileOutboundRequestBatchResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- PutProfileOutboundRequestBatchResponse
public static interface PutProfileOutboundRequestBatchResponse.Builder extends ConnectCampaignsV2Response.Builder, SdkPojo, CopyableBuilder<PutProfileOutboundRequestBatchResponse.Builder,PutProfileOutboundRequestBatchResponse>
-
-
Method Summary
-
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 Detail
-
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.Builderavoiding the need to create one manually viaSuccessfulProfileOutboundRequest.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 onSuccessfulProfileOutboundRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#successfulRequests(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaFailedProfileOutboundRequest.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 onFailedProfileOutboundRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#failedRequests(java.util.Collection)
-
-