public class DeliveryChannel
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A logical container used for storing the configuration changes of an AWS resource.
Modifier and Type | Field and Description |
---|---|
private ConfigSnapshotDeliveryProperties |
configSnapshotDeliveryProperties |
private java.lang.String |
name
The name of the delivery channel.
|
private java.lang.String |
s3BucketName
The name of the Amazon S3 bucket used to store configuration history for
the delivery channel.
|
private java.lang.String |
s3KeyPrefix
The prefix for the specified Amazon S3 bucket.
|
private java.lang.String |
snsTopicARN
The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers
notifications to.
|
Constructor and Description |
---|
DeliveryChannel() |
Modifier and Type | Method and Description |
---|---|
DeliveryChannel |
clone() |
boolean |
equals(java.lang.Object obj) |
ConfigSnapshotDeliveryProperties |
getConfigSnapshotDeliveryProperties() |
java.lang.String |
getName()
The name of the delivery channel.
|
java.lang.String |
getS3BucketName()
The name of the Amazon S3 bucket used to store configuration history for
the delivery channel.
|
java.lang.String |
getS3KeyPrefix()
The prefix for the specified Amazon S3 bucket.
|
java.lang.String |
getSnsTopicARN()
The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers
notifications to.
|
int |
hashCode() |
void |
setConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties) |
void |
setName(java.lang.String name)
The name of the delivery channel.
|
void |
setS3BucketName(java.lang.String s3BucketName)
The name of the Amazon S3 bucket used to store configuration history for
the delivery channel.
|
void |
setS3KeyPrefix(java.lang.String s3KeyPrefix)
The prefix for the specified Amazon S3 bucket.
|
void |
setSnsTopicARN(java.lang.String snsTopicARN)
The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers
notifications to.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeliveryChannel |
withConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties) |
DeliveryChannel |
withName(java.lang.String name)
The name of the delivery channel.
|
DeliveryChannel |
withS3BucketName(java.lang.String s3BucketName)
The name of the Amazon S3 bucket used to store configuration history for
the delivery channel.
|
DeliveryChannel |
withS3KeyPrefix(java.lang.String s3KeyPrefix)
The prefix for the specified Amazon S3 bucket.
|
DeliveryChannel |
withSnsTopicARN(java.lang.String snsTopicARN)
The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers
notifications to.
|
private java.lang.String name
The name of the delivery channel. By default, AWS Config automatically assigns the name "default" when creating the delivery channel. You cannot change the assigned name.
private java.lang.String s3BucketName
The name of the Amazon S3 bucket used to store configuration history for the delivery channel.
private java.lang.String s3KeyPrefix
The prefix for the specified Amazon S3 bucket.
private java.lang.String snsTopicARN
The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.
private ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties
public void setName(java.lang.String name)
The name of the delivery channel. By default, AWS Config automatically assigns the name "default" when creating the delivery channel. You cannot change the assigned name.
name
- The name of the delivery channel. By default, AWS Config
automatically assigns the name "default" when creating
the delivery channel. You cannot change the assigned name.public java.lang.String getName()
The name of the delivery channel. By default, AWS Config automatically assigns the name "default" when creating the delivery channel. You cannot change the assigned name.
public DeliveryChannel withName(java.lang.String name)
The name of the delivery channel. By default, AWS Config automatically assigns the name "default" when creating the delivery channel. You cannot change the assigned name.
name
- The name of the delivery channel. By default, AWS Config
automatically assigns the name "default" when creating
the delivery channel. You cannot change the assigned name.public void setS3BucketName(java.lang.String s3BucketName)
The name of the Amazon S3 bucket used to store configuration history for the delivery channel.
s3BucketName
- The name of the Amazon S3 bucket used to store configuration
history for the delivery channel.public java.lang.String getS3BucketName()
The name of the Amazon S3 bucket used to store configuration history for the delivery channel.
public DeliveryChannel withS3BucketName(java.lang.String s3BucketName)
The name of the Amazon S3 bucket used to store configuration history for the delivery channel.
s3BucketName
- The name of the Amazon S3 bucket used to store configuration
history for the delivery channel.public void setS3KeyPrefix(java.lang.String s3KeyPrefix)
The prefix for the specified Amazon S3 bucket.
s3KeyPrefix
- The prefix for the specified Amazon S3 bucket.public java.lang.String getS3KeyPrefix()
The prefix for the specified Amazon S3 bucket.
public DeliveryChannel withS3KeyPrefix(java.lang.String s3KeyPrefix)
The prefix for the specified Amazon S3 bucket.
s3KeyPrefix
- The prefix for the specified Amazon S3 bucket.public void setSnsTopicARN(java.lang.String snsTopicARN)
The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.
snsTopicARN
- The Amazon Resource Name (ARN) of the SNS topic that AWS Config
delivers notifications to.public java.lang.String getSnsTopicARN()
The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.
public DeliveryChannel withSnsTopicARN(java.lang.String snsTopicARN)
The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.
snsTopicARN
- The Amazon Resource Name (ARN) of the SNS topic that AWS Config
delivers notifications to.public void setConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties)
configSnapshotDeliveryProperties
- public ConfigSnapshotDeliveryProperties getConfigSnapshotDeliveryProperties()
public DeliveryChannel withConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties)
configSnapshotDeliveryProperties
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeliveryChannel clone()
clone
in class java.lang.Object