@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MembershipSummary extends Object implements Serializable, Cloneable, StructuredPojo
The membership object listed by the request.
Constructor and Description |
---|
MembershipSummary() |
Modifier and Type | Method and Description |
---|---|
MembershipSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The unique ARN for the membership.
|
String |
getCollaborationArn()
The unique ARN for the membership's associated collaboration.
|
String |
getCollaborationCreatorAccountId()
The identifier of the Amazon Web Services principal that created the collaboration.
|
String |
getCollaborationCreatorDisplayName()
The display name of the collaboration creator.
|
String |
getCollaborationId()
The unique ID for the membership's collaboration.
|
String |
getCollaborationName()
The name for the membership's collaboration.
|
Date |
getCreateTime()
The time when the membership was created.
|
String |
getId()
The unique ID for the membership's collaboration.
|
List<String> |
getMemberAbilities()
The abilities granted to the collaboration member.
|
MembershipPaymentConfiguration |
getPaymentConfiguration()
The payment responsibilities accepted by the collaboration member.
|
String |
getStatus()
The status of the membership.
|
Date |
getUpdateTime()
The time the membership metadata was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The unique ARN for the membership.
|
void |
setCollaborationArn(String collaborationArn)
The unique ARN for the membership's associated collaboration.
|
void |
setCollaborationCreatorAccountId(String collaborationCreatorAccountId)
The identifier of the Amazon Web Services principal that created the collaboration.
|
void |
setCollaborationCreatorDisplayName(String collaborationCreatorDisplayName)
The display name of the collaboration creator.
|
void |
setCollaborationId(String collaborationId)
The unique ID for the membership's collaboration.
|
void |
setCollaborationName(String collaborationName)
The name for the membership's collaboration.
|
void |
setCreateTime(Date createTime)
The time when the membership was created.
|
void |
setId(String id)
The unique ID for the membership's collaboration.
|
void |
setMemberAbilities(Collection<String> memberAbilities)
The abilities granted to the collaboration member.
|
void |
setPaymentConfiguration(MembershipPaymentConfiguration paymentConfiguration)
The payment responsibilities accepted by the collaboration member.
|
void |
setStatus(String status)
The status of the membership.
|
void |
setUpdateTime(Date updateTime)
The time the membership metadata was last updated.
|
String |
toString()
Returns a string representation of this object.
|
MembershipSummary |
withArn(String arn)
The unique ARN for the membership.
|
MembershipSummary |
withCollaborationArn(String collaborationArn)
The unique ARN for the membership's associated collaboration.
|
MembershipSummary |
withCollaborationCreatorAccountId(String collaborationCreatorAccountId)
The identifier of the Amazon Web Services principal that created the collaboration.
|
MembershipSummary |
withCollaborationCreatorDisplayName(String collaborationCreatorDisplayName)
The display name of the collaboration creator.
|
MembershipSummary |
withCollaborationId(String collaborationId)
The unique ID for the membership's collaboration.
|
MembershipSummary |
withCollaborationName(String collaborationName)
The name for the membership's collaboration.
|
MembershipSummary |
withCreateTime(Date createTime)
The time when the membership was created.
|
MembershipSummary |
withId(String id)
The unique ID for the membership's collaboration.
|
MembershipSummary |
withMemberAbilities(Collection<String> memberAbilities)
The abilities granted to the collaboration member.
|
MembershipSummary |
withMemberAbilities(MemberAbility... memberAbilities)
The abilities granted to the collaboration member.
|
MembershipSummary |
withMemberAbilities(String... memberAbilities)
The abilities granted to the collaboration member.
|
MembershipSummary |
withPaymentConfiguration(MembershipPaymentConfiguration paymentConfiguration)
The payment responsibilities accepted by the collaboration member.
|
MembershipSummary |
withStatus(MembershipStatus status)
The status of the membership.
|
MembershipSummary |
withStatus(String status)
The status of the membership.
|
MembershipSummary |
withUpdateTime(Date updateTime)
The time the membership metadata was last updated.
|
public void setId(String id)
The unique ID for the membership's collaboration.
id
- The unique ID for the membership's collaboration.public String getId()
The unique ID for the membership's collaboration.
public MembershipSummary withId(String id)
The unique ID for the membership's collaboration.
id
- The unique ID for the membership's collaboration.public void setArn(String arn)
The unique ARN for the membership.
arn
- The unique ARN for the membership.public String getArn()
The unique ARN for the membership.
public MembershipSummary withArn(String arn)
The unique ARN for the membership.
arn
- The unique ARN for the membership.public void setCollaborationArn(String collaborationArn)
The unique ARN for the membership's associated collaboration.
collaborationArn
- The unique ARN for the membership's associated collaboration.public String getCollaborationArn()
The unique ARN for the membership's associated collaboration.
public MembershipSummary withCollaborationArn(String collaborationArn)
The unique ARN for the membership's associated collaboration.
collaborationArn
- The unique ARN for the membership's associated collaboration.public void setCollaborationId(String collaborationId)
The unique ID for the membership's collaboration.
collaborationId
- The unique ID for the membership's collaboration.public String getCollaborationId()
The unique ID for the membership's collaboration.
public MembershipSummary withCollaborationId(String collaborationId)
The unique ID for the membership's collaboration.
collaborationId
- The unique ID for the membership's collaboration.public void setCollaborationCreatorAccountId(String collaborationCreatorAccountId)
The identifier of the Amazon Web Services principal that created the collaboration. Currently only supports Amazon Web Services account ID.
collaborationCreatorAccountId
- The identifier of the Amazon Web Services principal that created the collaboration. Currently only
supports Amazon Web Services account ID.public String getCollaborationCreatorAccountId()
The identifier of the Amazon Web Services principal that created the collaboration. Currently only supports Amazon Web Services account ID.
public MembershipSummary withCollaborationCreatorAccountId(String collaborationCreatorAccountId)
The identifier of the Amazon Web Services principal that created the collaboration. Currently only supports Amazon Web Services account ID.
collaborationCreatorAccountId
- The identifier of the Amazon Web Services principal that created the collaboration. Currently only
supports Amazon Web Services account ID.public void setCollaborationCreatorDisplayName(String collaborationCreatorDisplayName)
The display name of the collaboration creator.
collaborationCreatorDisplayName
- The display name of the collaboration creator.public String getCollaborationCreatorDisplayName()
The display name of the collaboration creator.
public MembershipSummary withCollaborationCreatorDisplayName(String collaborationCreatorDisplayName)
The display name of the collaboration creator.
collaborationCreatorDisplayName
- The display name of the collaboration creator.public void setCollaborationName(String collaborationName)
The name for the membership's collaboration.
collaborationName
- The name for the membership's collaboration.public String getCollaborationName()
The name for the membership's collaboration.
public MembershipSummary withCollaborationName(String collaborationName)
The name for the membership's collaboration.
collaborationName
- The name for the membership's collaboration.public void setCreateTime(Date createTime)
The time when the membership was created.
createTime
- The time when the membership was created.public Date getCreateTime()
The time when the membership was created.
public MembershipSummary withCreateTime(Date createTime)
The time when the membership was created.
createTime
- The time when the membership was created.public void setUpdateTime(Date updateTime)
The time the membership metadata was last updated.
updateTime
- The time the membership metadata was last updated.public Date getUpdateTime()
The time the membership metadata was last updated.
public MembershipSummary withUpdateTime(Date updateTime)
The time the membership metadata was last updated.
updateTime
- The time the membership metadata was last updated.public void setStatus(String status)
The status of the membership.
status
- The status of the membership.MembershipStatus
public String getStatus()
The status of the membership.
MembershipStatus
public MembershipSummary withStatus(String status)
The status of the membership.
status
- The status of the membership.MembershipStatus
public MembershipSummary withStatus(MembershipStatus status)
The status of the membership.
status
- The status of the membership.MembershipStatus
public List<String> getMemberAbilities()
The abilities granted to the collaboration member.
MemberAbility
public void setMemberAbilities(Collection<String> memberAbilities)
The abilities granted to the collaboration member.
memberAbilities
- The abilities granted to the collaboration member.MemberAbility
public MembershipSummary 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.MemberAbility
public MembershipSummary withMemberAbilities(Collection<String> memberAbilities)
The abilities granted to the collaboration member.
memberAbilities
- The abilities granted to the collaboration member.MemberAbility
public MembershipSummary withMemberAbilities(MemberAbility... memberAbilities)
The abilities granted to the collaboration member.
memberAbilities
- The abilities granted to the collaboration member.MemberAbility
public void setPaymentConfiguration(MembershipPaymentConfiguration paymentConfiguration)
The payment responsibilities accepted by the collaboration member.
paymentConfiguration
- The payment responsibilities accepted by the collaboration member.public MembershipPaymentConfiguration getPaymentConfiguration()
The payment responsibilities accepted by the collaboration member.
public MembershipSummary withPaymentConfiguration(MembershipPaymentConfiguration paymentConfiguration)
The payment responsibilities accepted by the collaboration member.
paymentConfiguration
- The payment responsibilities accepted by the collaboration member.public String toString()
toString
in class Object
Object.toString()
public MembershipSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.