@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateChannelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateChannelRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateChannelRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getChannelName()
The name of the channel to be updated.
|
ChannelStorage |
getChannelStorage()
Where channel data is stored.
|
RetentionPeriod |
getRetentionPeriod()
How long, in days, message data is kept for the channel.
|
int |
hashCode() |
void |
setChannelName(String channelName)
The name of the channel to be updated.
|
void |
setChannelStorage(ChannelStorage channelStorage)
Where channel data is stored.
|
void |
setRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel.
|
String |
toString()
Returns a string representation of this object.
|
UpdateChannelRequest |
withChannelName(String channelName)
The name of the channel to be updated.
|
UpdateChannelRequest |
withChannelStorage(ChannelStorage channelStorage)
Where channel data is stored.
|
UpdateChannelRequest |
withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setChannelName(String channelName)
The name of the channel to be updated.
channelName
- The name of the channel to be updated.public String getChannelName()
The name of the channel to be updated.
public UpdateChannelRequest withChannelName(String channelName)
The name of the channel to be updated.
channelName
- The name of the channel to be updated.public void setChannelStorage(ChannelStorage channelStorage)
Where channel data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed after creation of the channel.
channelStorage
- Where channel data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If
not specified, the default is "serviceManagedS3". This cannot be changed after creation of the channel.public ChannelStorage getChannelStorage()
Where channel data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed after creation of the channel.
public UpdateChannelRequest withChannelStorage(ChannelStorage channelStorage)
Where channel data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed after creation of the channel.
channelStorage
- Where channel data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If
not specified, the default is "serviceManagedS3". This cannot be changed after creation of the channel.public void setRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel. The retention period cannot be updated if the channel's S3 storage is customer-managed.
retentionPeriod
- How long, in days, message data is kept for the channel. The retention period cannot be updated if the
channel's S3 storage is customer-managed.public RetentionPeriod getRetentionPeriod()
How long, in days, message data is kept for the channel. The retention period cannot be updated if the channel's S3 storage is customer-managed.
public UpdateChannelRequest withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel. The retention period cannot be updated if the channel's S3 storage is customer-managed.
retentionPeriod
- How long, in days, message data is kept for the channel. The retention period cannot be updated if the
channel's S3 storage is customer-managed.public String toString()
toString
in class Object
Object.toString()
public UpdateChannelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()