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
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.
-
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.Builderavoiding the need to create one manually viaProfileOutboundRequest.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-