@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutChannelMembershipPreferencesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
PutChannelMembershipPreferencesResult() |
| Modifier and Type | Method and Description |
|---|---|
PutChannelMembershipPreferencesResult |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the channel.
|
Identity |
getMember()
The details of a user.
|
ChannelMembershipPreferences |
getPreferences()
The ARN and metadata of the member being added.
|
int |
hashCode() |
void |
setChannelArn(String channelArn)
The ARN of the channel.
|
void |
setMember(Identity member)
The details of a user.
|
void |
setPreferences(ChannelMembershipPreferences preferences)
The ARN and metadata of the member being added.
|
String |
toString()
Returns a string representation of this object.
|
PutChannelMembershipPreferencesResult |
withChannelArn(String channelArn)
The ARN of the channel.
|
PutChannelMembershipPreferencesResult |
withMember(Identity member)
The details of a user.
|
PutChannelMembershipPreferencesResult |
withPreferences(ChannelMembershipPreferences preferences)
The ARN and metadata of the member being added.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic PutChannelMembershipPreferencesResult()
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 PutChannelMembershipPreferencesResult withChannelArn(String channelArn)
The ARN of the channel.
channelArn - The ARN of the channel.public void setMember(Identity member)
The details of a user.
member - The details of a user.public Identity getMember()
The details of a user.
public PutChannelMembershipPreferencesResult withMember(Identity member)
The details of a user.
member - The details of a user.public void setPreferences(ChannelMembershipPreferences preferences)
The ARN and metadata of the member being added.
preferences - The ARN and metadata of the member being added.public ChannelMembershipPreferences getPreferences()
The ARN and metadata of the member being added.
public PutChannelMembershipPreferencesResult withPreferences(ChannelMembershipPreferences preferences)
The ARN and metadata of the member being added.
preferences - The ARN and metadata of the member being added.public String toString()
toString in class ObjectObject.toString()public PutChannelMembershipPreferencesResult clone()