@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.
|
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 |
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; useful for testing and debugging.
|
CreateChannelRequest |
withChannelName(String channelName)
The name of the channel.
|
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 setRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel.
retentionPeriod
- How long, in days, message data is kept for the channel.public RetentionPeriod getRetentionPeriod()
How long, in days, message data is kept for the channel.
public CreateChannelRequest withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel.
retentionPeriod
- How long, in days, message data is kept for the channel.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.