public class DeliveryChannel extends Object implements Serializable, Cloneable
A logical container used for storing the configuration changes of an AWS resource.
Constructor and Description |
---|
DeliveryChannel() |
Modifier and Type | Method and Description |
---|---|
DeliveryChannel |
clone() |
boolean |
equals(Object obj) |
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 IAM role used for accessing the
Amazon S3 bucket and the Amazon SNS topic.
|
int |
hashCode() |
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 IAM role used for accessing the
Amazon S3 bucket and the Amazon SNS topic.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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 IAM role used for accessing the
Amazon S3 bucket and the Amazon SNS topic.
|
public String getName()
Constraints:
Length: 1 - 256
public void setName(String name)
Constraints:
Length: 1 - 256
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 DeliveryChannel withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
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 String getS3BucketName()
public void setS3BucketName(String s3BucketName)
s3BucketName
- The name of the Amazon S3 bucket used to store configuration history
for the delivery channel.public DeliveryChannel withS3BucketName(String s3BucketName)
Returns a reference to this object so that method calls can be chained together.
s3BucketName
- The name of the Amazon S3 bucket used to store configuration history
for the delivery channel.public String getS3KeyPrefix()
public void setS3KeyPrefix(String s3KeyPrefix)
s3KeyPrefix
- The prefix for the specified Amazon S3 bucket.public DeliveryChannel withS3KeyPrefix(String s3KeyPrefix)
Returns a reference to this object so that method calls can be chained together.
s3KeyPrefix
- The prefix for the specified Amazon S3 bucket.public String getSnsTopicARN()
public void setSnsTopicARN(String snsTopicARN)
snsTopicARN
- The Amazon Resource Name (ARN) of the IAM role used for accessing the
Amazon S3 bucket and the Amazon SNS topic.public DeliveryChannel withSnsTopicARN(String snsTopicARN)
Returns a reference to this object so that method calls can be chained together.
snsTopicARN
- The Amazon Resource Name (ARN) of the IAM role used for accessing the
Amazon S3 bucket and the Amazon SNS topic.public String toString()
toString
in class Object
Object.toString()
public DeliveryChannel clone()
Copyright © 2015. All rights reserved.