@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateChannelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateChannelRequest() |
Modifier and Type | Method and Description |
---|---|
CreateChannelRequest |
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.
|
ChannelStorage |
getChannelStorage()
Where channel data is stored.
|
RetentionPeriod |
getRetentionPeriod()
How long, in days, message data is kept for the channel.
|
List<Tag> |
getTags()
Metadata which can be used to manage the channel.
|
int |
hashCode() |
void |
setChannelName(String channelName)
The name of the channel.
|
void |
setChannelStorage(ChannelStorage channelStorage)
Where channel data is stored.
|
void |
setRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel.
|
void |
setTags(Collection<Tag> tags)
Metadata which can be used to manage the channel.
|
String |
toString()
Returns a string representation of this object.
|
CreateChannelRequest |
withChannelName(String channelName)
The name of the channel.
|
CreateChannelRequest |
withChannelStorage(ChannelStorage channelStorage)
Where channel data is stored.
|
CreateChannelRequest |
withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel.
|
CreateChannelRequest |
withTags(Collection<Tag> tags)
Metadata which can be used to manage the channel.
|
CreateChannelRequest |
withTags(Tag... tags)
Metadata which can be used to manage 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.
channelName
- The name of the channel.public String getChannelName()
The name of the channel.
public CreateChannelRequest withChannelName(String channelName)
The name of the channel.
channelName
- The name of the channel.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 CreateChannelRequest 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. When "customerManagedS3" storage is selected, this parameter is ignored.
retentionPeriod
- How long, in days, message data is kept for the channel. When "customerManagedS3" storage is selected,
this parameter is ignored.public RetentionPeriod getRetentionPeriod()
How long, in days, message data is kept for the channel. When "customerManagedS3" storage is selected, this parameter is ignored.
public CreateChannelRequest withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel. When "customerManagedS3" storage is selected, this parameter is ignored.
retentionPeriod
- How long, in days, message data is kept for the channel. When "customerManagedS3" storage is selected,
this parameter is ignored.public List<Tag> getTags()
Metadata which can be used to manage the channel.
public void setTags(Collection<Tag> tags)
Metadata which can be used to manage the channel.
tags
- Metadata which can be used to manage the channel.public CreateChannelRequest withTags(Tag... tags)
Metadata which can be used to manage the channel.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Metadata which can be used to manage the channel.public CreateChannelRequest withTags(Collection<Tag> tags)
Metadata which can be used to manage the channel.
tags
- Metadata which can be used to manage the channel.public String toString()
toString
in class Object
Object.toString()
public CreateChannelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.