Interface PutProfileOutboundRequestBatchRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectCampaignsV2Request.Builder
,CopyableBuilder<PutProfileOutboundRequestBatchRequest.Builder,
,PutProfileOutboundRequestBatchRequest> SdkBuilder<PutProfileOutboundRequestBatchRequest.Builder,
,PutProfileOutboundRequestBatchRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutProfileOutboundRequestBatchRequest
@Mutable
@NotThreadSafe
public static interface PutProfileOutboundRequestBatchRequest.Builder
extends ConnectCampaignsV2Request.Builder, SdkPojo, CopyableBuilder<PutProfileOutboundRequestBatchRequest.Builder,PutProfileOutboundRequestBatchRequest>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Id property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.profileOutboundRequests
(Collection<ProfileOutboundRequest> profileOutboundRequests) Sets the value of the ProfileOutboundRequests property for this object.profileOutboundRequests
(Consumer<ProfileOutboundRequest.Builder>... profileOutboundRequests) Sets the value of the ProfileOutboundRequests property for this object.profileOutboundRequests
(ProfileOutboundRequest... profileOutboundRequests) Sets the value of the ProfileOutboundRequests property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connectcampaignsv2.model.ConnectCampaignsV2Request.Builder
build
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
-
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.
-
profileOutboundRequests
PutProfileOutboundRequestBatchRequest.Builder profileOutboundRequests(Collection<ProfileOutboundRequest> profileOutboundRequests) Sets the value of the ProfileOutboundRequests property for this object.- Parameters:
profileOutboundRequests
- The new value for the ProfileOutboundRequests property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileOutboundRequests
PutProfileOutboundRequestBatchRequest.Builder profileOutboundRequests(ProfileOutboundRequest... profileOutboundRequests) Sets the value of the ProfileOutboundRequests property for this object.- Parameters:
profileOutboundRequests
- The new value for the ProfileOutboundRequests property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileOutboundRequests
PutProfileOutboundRequestBatchRequest.Builder profileOutboundRequests(Consumer<ProfileOutboundRequest.Builder>... profileOutboundRequests) Sets the value of the ProfileOutboundRequests property for this object. This is a convenience method that creates an instance of theProfileOutboundRequest.Builder
avoiding the need to create one manually viaProfileOutboundRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprofileOutboundRequests(List<ProfileOutboundRequest>)
.- Parameters:
profileOutboundRequests
- a consumer that will call methods onProfileOutboundRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutProfileOutboundRequestBatchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutProfileOutboundRequestBatchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-