@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateChannelMembershipResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| CreateChannelMembershipResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateChannelMembershipResult | clone() | 
| boolean | equals(Object obj) | 
| String | getChannelArn()
 The ARN of the channel. | 
| Identity | getMember()
 The ARN and metadata of the member being added. | 
| String | getSubChannelId()
 The ID of the SubChannel in the response. | 
| int | hashCode() | 
| void | setChannelArn(String channelArn)
 The ARN of the channel. | 
| void | setMember(Identity member)
 The ARN and metadata of the member being added. | 
| void | setSubChannelId(String subChannelId)
 The ID of the SubChannel in the response. | 
| String | toString()Returns a string representation of this object. | 
| CreateChannelMembershipResult | withChannelArn(String channelArn)
 The ARN of the channel. | 
| CreateChannelMembershipResult | withMember(Identity member)
 The ARN and metadata of the member being added. | 
| CreateChannelMembershipResult | withSubChannelId(String subChannelId)
 The ID of the SubChannel in the response. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setChannelArn(String channelArn)
The ARN of the channel.
channelArn - The ARN of the channel.public String getChannelArn()
The ARN of the channel.
public CreateChannelMembershipResult withChannelArn(String channelArn)
The ARN of the channel.
channelArn - The ARN of the channel.public void setMember(Identity member)
The ARN and metadata of the member being added.
member - The ARN and metadata of the member being added.public Identity getMember()
The ARN and metadata of the member being added.
public CreateChannelMembershipResult withMember(Identity member)
The ARN and metadata of the member being added.
member - The ARN and metadata of the member being added.public void setSubChannelId(String subChannelId)
The ID of the SubChannel in the response.
subChannelId - The ID of the SubChannel in the response.public String getSubChannelId()
The ID of the SubChannel in the response.
public CreateChannelMembershipResult withSubChannelId(String subChannelId)
The ID of the SubChannel in the response.
subChannelId - The ID of the SubChannel in the response.public String toString()
toString in class ObjectObject.toString()public CreateChannelMembershipResult clone()