@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchChannelMemberships extends Object implements Serializable, Cloneable, StructuredPojo
The membership information, including member ARNs, the channel ARN, and membership types.
Constructor and Description |
---|
BatchChannelMemberships() |
Modifier and Type | Method and Description |
---|---|
BatchChannelMemberships |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the channel to which you're adding members.
|
Identity |
getInvitedBy()
The identifier of the member who invited another member.
|
List<Identity> |
getMembers()
The users successfully added to the request.
|
String |
getSubChannelId()
The ID of the SubChannel.
|
String |
getType()
The membership types set for the channel members.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannelArn(String channelArn)
The ARN of the channel to which you're adding members.
|
void |
setInvitedBy(Identity invitedBy)
The identifier of the member who invited another member.
|
void |
setMembers(Collection<Identity> members)
The users successfully added to the request.
|
void |
setSubChannelId(String subChannelId)
The ID of the SubChannel.
|
void |
setType(String type)
The membership types set for the channel members.
|
String |
toString()
Returns a string representation of this object.
|
BatchChannelMemberships |
withChannelArn(String channelArn)
The ARN of the channel to which you're adding members.
|
BatchChannelMemberships |
withInvitedBy(Identity invitedBy)
The identifier of the member who invited another member.
|
BatchChannelMemberships |
withMembers(Collection<Identity> members)
The users successfully added to the request.
|
BatchChannelMemberships |
withMembers(Identity... members)
The users successfully added to the request.
|
BatchChannelMemberships |
withSubChannelId(String subChannelId)
The ID of the SubChannel.
|
BatchChannelMemberships |
withType(ChannelMembershipType type)
The membership types set for the channel members.
|
BatchChannelMemberships |
withType(String type)
The membership types set for the channel members.
|
public void setInvitedBy(Identity invitedBy)
The identifier of the member who invited another member.
invitedBy
- The identifier of the member who invited another member.public Identity getInvitedBy()
The identifier of the member who invited another member.
public BatchChannelMemberships withInvitedBy(Identity invitedBy)
The identifier of the member who invited another member.
invitedBy
- The identifier of the member who invited another member.public void setType(String type)
The membership types set for the channel members.
type
- The membership types set for the channel members.ChannelMembershipType
public String getType()
The membership types set for the channel members.
ChannelMembershipType
public BatchChannelMemberships withType(String type)
The membership types set for the channel members.
type
- The membership types set for the channel members.ChannelMembershipType
public BatchChannelMemberships withType(ChannelMembershipType type)
The membership types set for the channel members.
type
- The membership types set for the channel members.ChannelMembershipType
public List<Identity> getMembers()
The users successfully added to the request.
public void setMembers(Collection<Identity> members)
The users successfully added to the request.
members
- The users successfully added to the request.public BatchChannelMemberships withMembers(Identity... members)
The users successfully added to the request.
NOTE: This method appends the values to the existing list (if any). Use
setMembers(java.util.Collection)
or withMembers(java.util.Collection)
if you want to override
the existing values.
members
- The users successfully added to the request.public BatchChannelMemberships withMembers(Collection<Identity> members)
The users successfully added to the request.
members
- The users successfully added to the request.public void setChannelArn(String channelArn)
The ARN of the channel to which you're adding members.
channelArn
- The ARN of the channel to which you're adding members.public String getChannelArn()
The ARN of the channel to which you're adding members.
public BatchChannelMemberships withChannelArn(String channelArn)
The ARN of the channel to which you're adding members.
channelArn
- The ARN of the channel to which you're adding members.public void setSubChannelId(String subChannelId)
The ID of the SubChannel.
subChannelId
- The ID of the SubChannel.public String getSubChannelId()
The ID of the SubChannel.
public BatchChannelMemberships withSubChannelId(String subChannelId)
The ID of the SubChannel.
subChannelId
- The ID of the SubChannel.public String toString()
toString
in class Object
Object.toString()
public BatchChannelMemberships clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.