public static interface DeliveryChannel.Builder extends CopyableBuilder<DeliveryChannel.Builder,DeliveryChannel>
Modifier and Type | Method and Description |
---|---|
DeliveryChannel.Builder |
configSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties)
The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.
|
default DeliveryChannel.Builder |
configSnapshotDeliveryProperties(Consumer<ConfigSnapshotDeliveryProperties.Builder> configSnapshotDeliveryProperties)
The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.
|
DeliveryChannel.Builder |
name(String name)
The name of the delivery channel.
|
DeliveryChannel.Builder |
s3BucketName(String s3BucketName)
The name of the Amazon S3 bucket to which AWS Config delivers configuration snapshots and configuration
history files.
|
DeliveryChannel.Builder |
s3KeyPrefix(String s3KeyPrefix)
The prefix for the specified Amazon S3 bucket.
|
DeliveryChannel.Builder |
snsTopicARN(String snsTopicARN)
The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS Config sends notifications about
configuration changes.
|
copy
applyMutation, build
DeliveryChannel.Builder name(String name)
The name of the delivery channel. By default, AWS Config assigns the name "default" when creating the delivery channel. To change the delivery channel name, you must use the DeleteDeliveryChannel action to delete your current delivery channel, and then you must use the PutDeliveryChannel command to create a delivery channel that has the desired name.
name
- The name of the delivery channel. By default, AWS Config assigns the name "default" when creating the
delivery channel. To change the delivery channel name, you must use the DeleteDeliveryChannel action
to delete your current delivery channel, and then you must use the PutDeliveryChannel command to
create a delivery channel that has the desired name.DeliveryChannel.Builder s3BucketName(String s3BucketName)
The name of the Amazon S3 bucket to which AWS Config delivers configuration snapshots and configuration history files.
If you specify a bucket that belongs to another AWS account, that bucket must have policies that grant access permissions to AWS Config. For more information, see Permissions for the Amazon S3 Bucket in the AWS Config Developer Guide.
s3BucketName
- The name of the Amazon S3 bucket to which AWS Config delivers configuration snapshots and
configuration history files.
If you specify a bucket that belongs to another AWS account, that bucket must have policies that grant access permissions to AWS Config. For more information, see Permissions for the Amazon S3 Bucket in the AWS Config Developer Guide.
DeliveryChannel.Builder s3KeyPrefix(String s3KeyPrefix)
The prefix for the specified Amazon S3 bucket.
s3KeyPrefix
- The prefix for the specified Amazon S3 bucket.DeliveryChannel.Builder snsTopicARN(String snsTopicARN)
The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS Config sends notifications about configuration changes.
If you choose a topic from another account, the topic must have policies that grant access permissions to AWS Config. For more information, see Permissions for the Amazon SNS Topic in the AWS Config Developer Guide.
snsTopicARN
- The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS Config sends notifications about
configuration changes.
If you choose a topic from another account, the topic must have policies that grant access permissions to AWS Config. For more information, see Permissions for the Amazon SNS Topic in the AWS Config Developer Guide.
DeliveryChannel.Builder configSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties)
The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.
configSnapshotDeliveryProperties
- The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.default DeliveryChannel.Builder configSnapshotDeliveryProperties(Consumer<ConfigSnapshotDeliveryProperties.Builder> configSnapshotDeliveryProperties)
The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.
This is a convenience that creates an instance of theConfigSnapshotDeliveryProperties.Builder
avoiding the need to create one manually via ConfigSnapshotDeliveryProperties.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
configSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties)
.configSnapshotDeliveryProperties
- a consumer that will call methods on ConfigSnapshotDeliveryProperties.Builder
configSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.