Interface DeliveryChannel.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeliveryChannel.Builder,DeliveryChannel>,SdkBuilder<DeliveryChannel.Builder,DeliveryChannel>,SdkPojo
- Enclosing class:
- DeliveryChannel
public static interface DeliveryChannel.Builder extends SdkPojo, CopyableBuilder<DeliveryChannel.Builder,DeliveryChannel>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DeliveryChannel.BuilderconfigSnapshotDeliveryProperties(Consumer<ConfigSnapshotDeliveryProperties.Builder> configSnapshotDeliveryProperties)The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.DeliveryChannel.BuilderconfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties)The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.DeliveryChannel.Buildername(String name)The name of the delivery channel.DeliveryChannel.Builders3BucketName(String s3BucketName)The name of the Amazon S3 bucket to which Config delivers configuration snapshots and configuration history files.DeliveryChannel.Builders3KeyPrefix(String s3KeyPrefix)The prefix for the specified Amazon S3 bucket.DeliveryChannel.Builders3KmsKeyArn(String s3KmsKeyArn)The Amazon Resource Name (ARN) of the Key Management Service (KMS ) KMS key (KMS key) used to encrypt objects delivered by Config.DeliveryChannel.BuildersnsTopicARN(String snsTopicARN)The Amazon Resource Name (ARN) of the Amazon SNS topic to which Config sends notifications about configuration changes.-
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 Detail
-
name
DeliveryChannel.Builder name(String name)
The name of the delivery channel. By default, 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.
- Parameters:
name- The name of the delivery channel. By default, 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BucketName
DeliveryChannel.Builder s3BucketName(String s3BucketName)
The name of the Amazon S3 bucket to which Config delivers configuration snapshots and configuration history files.
If you specify a bucket that belongs to another Amazon Web Services account, that bucket must have policies that grant access permissions to Config. For more information, see Permissions for the Amazon S3 Bucket in the Config Developer Guide.
- Parameters:
s3BucketName- The name of the Amazon S3 bucket to which Config delivers configuration snapshots and configuration history files.If you specify a bucket that belongs to another Amazon Web Services account, that bucket must have policies that grant access permissions to Config. For more information, see Permissions for the Amazon S3 Bucket in the Config Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3KeyPrefix
DeliveryChannel.Builder s3KeyPrefix(String s3KeyPrefix)
The prefix for the specified Amazon S3 bucket.
- Parameters:
s3KeyPrefix- The prefix for the specified Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3KmsKeyArn
DeliveryChannel.Builder s3KmsKeyArn(String s3KmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service (KMS ) KMS key (KMS key) used to encrypt objects delivered by Config. Must belong to the same Region as the destination S3 bucket.
- Parameters:
s3KmsKeyArn- The Amazon Resource Name (ARN) of the Key Management Service (KMS ) KMS key (KMS key) used to encrypt objects delivered by Config. Must belong to the same Region as the destination S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsTopicARN
DeliveryChannel.Builder snsTopicARN(String snsTopicARN)
The Amazon Resource Name (ARN) of the Amazon SNS topic to which Config sends notifications about configuration changes.
If you choose a topic from another account, the topic must have policies that grant access permissions to Config. For more information, see Permissions for the Amazon SNS Topic in the Config Developer Guide.
- Parameters:
snsTopicARN- The Amazon Resource Name (ARN) of the Amazon SNS topic to which Config sends notifications about configuration changes.If you choose a topic from another account, the topic must have policies that grant access permissions to Config. For more information, see Permissions for the Amazon SNS Topic in the Config Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configSnapshotDeliveryProperties
DeliveryChannel.Builder configSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties)
The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.
- Parameters:
configSnapshotDeliveryProperties- The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configSnapshotDeliveryProperties
default DeliveryChannel.Builder configSnapshotDeliveryProperties(Consumer<ConfigSnapshotDeliveryProperties.Builder> configSnapshotDeliveryProperties)
The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.
This is a convenience method that creates an instance of theConfigSnapshotDeliveryProperties.Builderavoiding the need to create one manually viaConfigSnapshotDeliveryProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties).- Parameters:
configSnapshotDeliveryProperties- a consumer that will call methods onConfigSnapshotDeliveryProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties)
-
-