Interface PutOutboundRequestBatchRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectCampaignsV2Request.Builder,CopyableBuilder<PutOutboundRequestBatchRequest.Builder,,PutOutboundRequestBatchRequest> SdkBuilder<PutOutboundRequestBatchRequest.Builder,,PutOutboundRequestBatchRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutOutboundRequestBatchRequest
@Mutable
@NotThreadSafe
public static interface PutOutboundRequestBatchRequest.Builder
extends ConnectCampaignsV2Request.Builder, SdkPojo, CopyableBuilder<PutOutboundRequestBatchRequest.Builder,PutOutboundRequestBatchRequest>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Id property for this object.outboundRequests(Collection<OutboundRequest> outboundRequests) Sets the value of the OutboundRequests property for this object.outboundRequests(Consumer<OutboundRequest.Builder>... outboundRequests) Sets the value of the OutboundRequests property for this object.outboundRequests(OutboundRequest... outboundRequests) Sets the value of the OutboundRequests property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connectcampaignsv2.model.ConnectCampaignsV2Request.Builder
buildMethods 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, sdkFields
-
Method Details
-
id
Sets the value of the Id property for this object.- Parameters:
id- The new value for the Id property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outboundRequests
PutOutboundRequestBatchRequest.Builder outboundRequests(Collection<OutboundRequest> outboundRequests) Sets the value of the OutboundRequests property for this object.- Parameters:
outboundRequests- The new value for the OutboundRequests property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outboundRequests
Sets the value of the OutboundRequests property for this object.- Parameters:
outboundRequests- The new value for the OutboundRequests property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outboundRequests
PutOutboundRequestBatchRequest.Builder outboundRequests(Consumer<OutboundRequest.Builder>... outboundRequests) Sets the value of the OutboundRequests property for this object. This is a convenience method that creates an instance of theOutboundRequest.Builderavoiding the need to create one manually viaOutboundRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutboundRequests(List<OutboundRequest>).- Parameters:
outboundRequests- a consumer that will call methods onOutboundRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutOutboundRequestBatchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutOutboundRequestBatchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-