@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 users.
|
Identity |
getInvitedBy() |
List<Identity> |
getMembers()
The users successfully added to the request.
|
String |
getType()
The membership types set for the channel users.
|
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 users.
|
void |
setInvitedBy(Identity invitedBy) |
void |
setMembers(Collection<Identity> members)
The users successfully added to the request.
|
void |
setType(String type)
The membership types set for the channel users.
|
String |
toString()
Returns a string representation of this object.
|
BatchChannelMemberships |
withChannelArn(String channelArn)
The ARN of the channel to which you're adding users.
|
BatchChannelMemberships |
withInvitedBy(Identity invitedBy) |
BatchChannelMemberships |
withMembers(Collection<Identity> members)
The users successfully added to the request.
|
BatchChannelMemberships |
withMembers(Identity... members)
The users successfully added to the request.
|
BatchChannelMemberships |
withType(ChannelMembershipType type)
The membership types set for the channel users.
|
BatchChannelMemberships |
withType(String type)
The membership types set for the channel users.
|
public void setInvitedBy(Identity invitedBy)
invitedBy
- public Identity getInvitedBy()
public BatchChannelMemberships withInvitedBy(Identity invitedBy)
invitedBy
- public void setType(String type)
The membership types set for the channel users.
type
- The membership types set for the channel users.ChannelMembershipType
public String getType()
The membership types set for the channel users.
ChannelMembershipType
public BatchChannelMemberships withType(String type)
The membership types set for the channel users.
type
- The membership types set for the channel users.ChannelMembershipType
public BatchChannelMemberships withType(ChannelMembershipType type)
The membership types set for the channel users.
type
- The membership types set for the channel users.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 users.
channelArn
- The ARN of the channel to which you're adding users.public String getChannelArn()
The ARN of the channel to which you're adding users.
public BatchChannelMemberships withChannelArn(String channelArn)
The ARN of the channel to which you're adding users.
channelArn
- The ARN of the channel to which you're adding users.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.