Class DeliveryChannel
- java.lang.Object
-
- com.amazonaws.services.config.model.DeliveryChannel
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DeliveryChannel extends Object implements Serializable, Cloneable
A logical container used for storing the configuration changes of an AWS resource.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeliveryChannel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeliveryChannelclone()booleanequals(Object obj)ConfigSnapshotDeliveryPropertiesgetConfigSnapshotDeliveryProperties()StringgetName()The name of the delivery channel.StringgetS3BucketName()The name of the Amazon S3 bucket used to store configuration history for the delivery channel.StringgetS3KeyPrefix()The prefix for the specified Amazon S3 bucket.StringgetSnsTopicARN()The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.inthashCode()voidsetConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties)voidsetName(String name)The name of the delivery channel.voidsetS3BucketName(String s3BucketName)The name of the Amazon S3 bucket used to store configuration history for the delivery channel.voidsetS3KeyPrefix(String s3KeyPrefix)The prefix for the specified Amazon S3 bucket.voidsetSnsTopicARN(String snsTopicARN)The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.StringtoString()Returns a string representation of this object; useful for testing and debugging.DeliveryChannelwithConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties)DeliveryChannelwithName(String name)The name of the delivery channel.DeliveryChannelwithS3BucketName(String s3BucketName)The name of the Amazon S3 bucket used to store configuration history for the delivery channel.DeliveryChannelwithS3KeyPrefix(String s3KeyPrefix)The prefix for the specified Amazon S3 bucket.DeliveryChannelwithSnsTopicARN(String snsTopicARN)The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.
-
-
-
Method Detail
-
setName
public void setName(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.
- Parameters:
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.
-
getName
public 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.
- Returns:
- 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.
-
withName
public DeliveryChannel withName(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setS3BucketName
public void setS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket used to store configuration history for the delivery channel.
- Parameters:
s3BucketName- The name of the Amazon S3 bucket used to store configuration history for the delivery channel.
-
getS3BucketName
public String getS3BucketName()
The name of the Amazon S3 bucket used to store configuration history for the delivery channel.
- Returns:
- The name of the Amazon S3 bucket used to store configuration history for the delivery channel.
-
withS3BucketName
public DeliveryChannel withS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket used to store configuration history for the delivery channel.
- Parameters:
s3BucketName- The name of the Amazon S3 bucket used to store configuration history for the delivery channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setS3KeyPrefix
public void setS3KeyPrefix(String s3KeyPrefix)
The prefix for the specified Amazon S3 bucket.
- Parameters:
s3KeyPrefix- The prefix for the specified Amazon S3 bucket.
-
getS3KeyPrefix
public String getS3KeyPrefix()
The prefix for the specified Amazon S3 bucket.
- Returns:
- The prefix for the specified Amazon S3 bucket.
-
withS3KeyPrefix
public DeliveryChannel withS3KeyPrefix(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.
-
setSnsTopicARN
public void setSnsTopicARN(String snsTopicARN)
The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.
- Parameters:
snsTopicARN- The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.
-
getSnsTopicARN
public String getSnsTopicARN()
The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.
- Returns:
- The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.
-
withSnsTopicARN
public DeliveryChannel withSnsTopicARN(String snsTopicARN)
The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.
- Parameters:
snsTopicARN- The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConfigSnapshotDeliveryProperties
public void setConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties)
- Parameters:
configSnapshotDeliveryProperties-
-
getConfigSnapshotDeliveryProperties
public ConfigSnapshotDeliveryProperties getConfigSnapshotDeliveryProperties()
- Returns:
-
withConfigSnapshotDeliveryProperties
public DeliveryChannel withConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties)
- Parameters:
configSnapshotDeliveryProperties-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeliveryChannel clone()
-
-