Interface GetCampaignStateBatchResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectCampaignsResponse.Builder,CopyableBuilder<GetCampaignStateBatchResponse.Builder,GetCampaignStateBatchResponse>,SdkBuilder<GetCampaignStateBatchResponse.Builder,GetCampaignStateBatchResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetCampaignStateBatchResponse
public static interface GetCampaignStateBatchResponse.Builder extends ConnectCampaignsResponse.Builder, SdkPojo, CopyableBuilder<GetCampaignStateBatchResponse.Builder,GetCampaignStateBatchResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCampaignStateBatchResponse.BuilderfailedRequests(Collection<FailedCampaignStateResponse> failedRequests)Sets the value of the FailedRequests property for this object.GetCampaignStateBatchResponse.BuilderfailedRequests(Consumer<FailedCampaignStateResponse.Builder>... failedRequests)Sets the value of the FailedRequests property for this object.GetCampaignStateBatchResponse.BuilderfailedRequests(FailedCampaignStateResponse... failedRequests)Sets the value of the FailedRequests property for this object.GetCampaignStateBatchResponse.BuildersuccessfulRequests(Collection<SuccessfulCampaignStateResponse> successfulRequests)Sets the value of the SuccessfulRequests property for this object.GetCampaignStateBatchResponse.BuildersuccessfulRequests(Consumer<SuccessfulCampaignStateResponse.Builder>... successfulRequests)Sets the value of the SuccessfulRequests property for this object.GetCampaignStateBatchResponse.BuildersuccessfulRequests(SuccessfulCampaignStateResponse... 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
GetCampaignStateBatchResponse.Builder successfulRequests(Collection<SuccessfulCampaignStateResponse> 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
GetCampaignStateBatchResponse.Builder successfulRequests(SuccessfulCampaignStateResponse... 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
GetCampaignStateBatchResponse.Builder successfulRequests(Consumer<SuccessfulCampaignStateResponse.Builder>... successfulRequests)
Sets the value of the SuccessfulRequests property for this object. This is a convenience method that creates an instance of theSuccessfulCampaignStateResponse.Builderavoiding the need to create one manually viaSuccessfulCampaignStateResponse.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 onSuccessfulCampaignStateResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#successfulRequests(java.util.Collection)
-
failedRequests
GetCampaignStateBatchResponse.Builder failedRequests(Collection<FailedCampaignStateResponse> 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
GetCampaignStateBatchResponse.Builder failedRequests(FailedCampaignStateResponse... 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
GetCampaignStateBatchResponse.Builder failedRequests(Consumer<FailedCampaignStateResponse.Builder>... failedRequests)
Sets the value of the FailedRequests property for this object. This is a convenience method that creates an instance of theFailedCampaignStateResponse.Builderavoiding the need to create one manually viaFailedCampaignStateResponse.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 onFailedCampaignStateResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#failedRequests(java.util.Collection)
-
-