public class PutDeliveryChannelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
PutDeliveryChannel operation
.
Creates a new delivery channel object to deliver the configuration information to an Amazon S3 bucket, and to an Amazon SNS topic.
You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed.
NOTE: Currently, you can specify only one delivery channel per account.
NOOP
Constructor and Description |
---|
PutDeliveryChannelRequest() |
Modifier and Type | Method and Description |
---|---|
PutDeliveryChannelRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
DeliveryChannel |
getDeliveryChannel()
The configuration delivery channel object that delivers the
configuration information to an Amazon S3 bucket, and to an Amazon SNS
topic.
|
int |
hashCode() |
void |
setDeliveryChannel(DeliveryChannel deliveryChannel)
The configuration delivery channel object that delivers the
configuration information to an Amazon S3 bucket, and to an Amazon SNS
topic.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutDeliveryChannelRequest |
withDeliveryChannel(DeliveryChannel deliveryChannel)
The configuration delivery channel object that delivers the
configuration information to an Amazon S3 bucket, and to an Amazon SNS
topic.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeliveryChannel getDeliveryChannel()
public void setDeliveryChannel(DeliveryChannel deliveryChannel)
deliveryChannel
- The configuration delivery channel object that delivers the
configuration information to an Amazon S3 bucket, and to an Amazon SNS
topic.public PutDeliveryChannelRequest withDeliveryChannel(DeliveryChannel deliveryChannel)
Returns a reference to this object so that method calls can be chained together.
deliveryChannel
- The configuration delivery channel object that delivers the
configuration information to an Amazon S3 bucket, and to an Amazon SNS
topic.public String toString()
toString
in class Object
Object.toString()
public PutDeliveryChannelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.