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 DeliveryChannel
clone()
boolean
equals(Object obj)
ConfigSnapshotDeliveryProperties
getConfigSnapshotDeliveryProperties()
String
getName()
The name of the delivery channel.String
getS3BucketName()
The name of the Amazon S3 bucket used to store configuration history for the delivery channel.String
getS3KeyPrefix()
The prefix for the specified Amazon S3 bucket.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(String name)
The name of the delivery channel.void
setS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket used to store configuration history for the delivery channel.void
setS3KeyPrefix(String s3KeyPrefix)
The prefix for the specified Amazon S3 bucket.void
setSnsTopicARN(String snsTopicARN)
The Amazon Resource Name (ARN) of the SNS topic that AWS Config delivers notifications to.String
toString()
Returns a string representation of this object; useful for testing and debugging.DeliveryChannel
withConfigSnapshotDeliveryProperties(ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties)
DeliveryChannel
withName(String name)
The name of the delivery channel.DeliveryChannel
withS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket used to store configuration history for the delivery channel.DeliveryChannel
withS3KeyPrefix(String s3KeyPrefix)
The prefix for the specified Amazon S3 bucket.DeliveryChannel
withSnsTopicARN(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DeliveryChannel clone()
-
-