Interface PutDeliveryChannelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConfigRequest.Builder
,CopyableBuilder<PutDeliveryChannelRequest.Builder,
,PutDeliveryChannelRequest> SdkBuilder<PutDeliveryChannelRequest.Builder,
,PutDeliveryChannelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutDeliveryChannelRequest
public static interface PutDeliveryChannelRequest.Builder
extends ConfigRequest.Builder, SdkPojo, CopyableBuilder<PutDeliveryChannelRequest.Builder,PutDeliveryChannelRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondeliveryChannel
(Consumer<DeliveryChannel.Builder> deliveryChannel) The configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket and to an Amazon SNS topic.deliveryChannel
(DeliveryChannel deliveryChannel) The configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket and to an Amazon SNS topic.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.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, sdkFields
-
Method Details
-
deliveryChannel
The configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket and to an Amazon SNS topic.
- Parameters:
deliveryChannel
- The configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket and to an Amazon SNS topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryChannel
default PutDeliveryChannelRequest.Builder deliveryChannel(Consumer<DeliveryChannel.Builder> deliveryChannel) The configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket and to an Amazon SNS topic.
This is a convenience method that creates an instance of theDeliveryChannel.Builder
avoiding the need to create one manually viaDeliveryChannel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeliveryChannel(DeliveryChannel)
.- Parameters:
deliveryChannel
- a consumer that will call methods onDeliveryChannel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutDeliveryChannelRequest.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
PutDeliveryChannelRequest.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.
-