@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateChannelModeratorResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateChannelModeratorResult() |
Modifier and Type | Method and Description |
---|---|
CreateChannelModeratorResult |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the channel.
|
Identity |
getChannelModerator()
The ARNs of the channel and the moderator.
|
int |
hashCode() |
void |
setChannelArn(String channelArn)
The ARN of the channel.
|
void |
setChannelModerator(Identity channelModerator)
The ARNs of the channel and the moderator.
|
String |
toString()
Returns a string representation of this object.
|
CreateChannelModeratorResult |
withChannelArn(String channelArn)
The ARN of the channel.
|
CreateChannelModeratorResult |
withChannelModerator(Identity channelModerator)
The ARNs of the channel and the moderator.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 CreateChannelModeratorResult withChannelArn(String channelArn)
The ARN of the channel.
channelArn
- The ARN of the channel.public void setChannelModerator(Identity channelModerator)
The ARNs of the channel and the moderator.
channelModerator
- The ARNs of the channel and the moderator.public Identity getChannelModerator()
The ARNs of the channel and the moderator.
public CreateChannelModeratorResult withChannelModerator(Identity channelModerator)
The ARNs of the channel and the moderator.
channelModerator
- The ARNs of the channel and the moderator.public String toString()
toString
in class Object
Object.toString()
public CreateChannelModeratorResult clone()