@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MemberSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Basic metadata used to construct a new member.
| Constructor and Description |
|---|
MemberSpecification() |
| Modifier and Type | Method and Description |
|---|---|
MemberSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The identifier used to reference members of the collaboration.
|
String |
getDisplayName()
The member's display name.
|
List<String> |
getMemberAbilities()
The abilities granted to the collaboration member.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAccountId(String accountId)
The identifier used to reference members of the collaboration.
|
void |
setDisplayName(String displayName)
The member's display name.
|
void |
setMemberAbilities(Collection<String> memberAbilities)
The abilities granted to the collaboration member.
|
String |
toString()
Returns a string representation of this object.
|
MemberSpecification |
withAccountId(String accountId)
The identifier used to reference members of the collaboration.
|
MemberSpecification |
withDisplayName(String displayName)
The member's display name.
|
MemberSpecification |
withMemberAbilities(Collection<String> memberAbilities)
The abilities granted to the collaboration member.
|
MemberSpecification |
withMemberAbilities(MemberAbility... memberAbilities)
The abilities granted to the collaboration member.
|
MemberSpecification |
withMemberAbilities(String... memberAbilities)
The abilities granted to the collaboration member.
|
public void setAccountId(String accountId)
The identifier used to reference members of the collaboration. Currently only supports AWS Account ID.
accountId - The identifier used to reference members of the collaboration. Currently only supports AWS Account ID.public String getAccountId()
The identifier used to reference members of the collaboration. Currently only supports AWS Account ID.
public MemberSpecification withAccountId(String accountId)
The identifier used to reference members of the collaboration. Currently only supports AWS Account ID.
accountId - The identifier used to reference members of the collaboration. Currently only supports AWS Account ID.public List<String> getMemberAbilities()
The abilities granted to the collaboration member.
MemberAbilitypublic void setMemberAbilities(Collection<String> memberAbilities)
The abilities granted to the collaboration member.
memberAbilities - The abilities granted to the collaboration member.MemberAbilitypublic MemberSpecification withMemberAbilities(String... memberAbilities)
The abilities granted to the collaboration member.
NOTE: This method appends the values to the existing list (if any). Use
setMemberAbilities(java.util.Collection) or withMemberAbilities(java.util.Collection) if you
want to override the existing values.
memberAbilities - The abilities granted to the collaboration member.MemberAbilitypublic MemberSpecification withMemberAbilities(Collection<String> memberAbilities)
The abilities granted to the collaboration member.
memberAbilities - The abilities granted to the collaboration member.MemberAbilitypublic MemberSpecification withMemberAbilities(MemberAbility... memberAbilities)
The abilities granted to the collaboration member.
memberAbilities - The abilities granted to the collaboration member.MemberAbilitypublic void setDisplayName(String displayName)
The member's display name.
displayName - The member's display name.public String getDisplayName()
The member's display name.
public MemberSpecification withDisplayName(String displayName)
The member's display name.
displayName - The member's display name.public String toString()
toString in class ObjectObject.toString()public MemberSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.