@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateChannelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateChannelResult() |
Modifier and Type | Method and Description |
---|---|
CreateChannelResult |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the channel.
|
String |
getChannelName()
The name of the channel.
|
RetentionPeriod |
getRetentionPeriod()
How long, in days, message data is kept for the channel.
|
int |
hashCode() |
void |
setChannelArn(String channelArn)
The ARN of the channel.
|
void |
setChannelName(String channelName)
The name of the channel.
|
void |
setRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel.
|
String |
toString()
Returns a string representation of this object.
|
CreateChannelResult |
withChannelArn(String channelArn)
The ARN of the channel.
|
CreateChannelResult |
withChannelName(String channelName)
The name of the channel.
|
CreateChannelResult |
withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 CreateChannelResult withChannelName(String channelName)
The name of the channel.
channelName
- The name of the channel.public void setChannelArn(String channelArn)
The ARN of the channel.
channelArn
- The ARN of the channel.public String getChannelArn()
The ARN of the channel.
public CreateChannelResult withChannelArn(String channelArn)
The ARN of the channel.
channelArn
- The ARN 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 CreateChannelResult 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 String toString()
toString
in class Object
Object.toString()
public CreateChannelResult clone()