@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Membership extends Object implements Serializable, Cloneable, StructuredPojo
The membership object.
Constructor and Description |
---|
Membership() |
Modifier and Type | Method and Description |
---|---|
Membership |
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 used to reference members of 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 of the membership's collaboration.
|
Date |
getCreateTime()
The time when the membership was created.
|
MembershipProtectedQueryResultConfiguration |
getDefaultResultConfiguration()
The default protected query result configuration as specified by the member who can receive results.
|
String |
getId()
The unique ID of the membership.
|
List<String> |
getMemberAbilities()
The abilities granted to the collaboration member.
|
MembershipPaymentConfiguration |
getPaymentConfiguration()
The payment responsibilities accepted by the collaboration member.
|
String |
getQueryLogStatus()
An indicator as to whether query logging has been enabled or disabled for the membership.
|
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 used to reference members of 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 of the membership's collaboration.
|
void |
setCreateTime(Date createTime)
The time when the membership was created.
|
void |
setDefaultResultConfiguration(MembershipProtectedQueryResultConfiguration defaultResultConfiguration)
The default protected query result configuration as specified by the member who can receive results.
|
void |
setId(String id)
The unique ID of the membership.
|
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 |
setQueryLogStatus(String queryLogStatus)
An indicator as to whether query logging has been enabled or disabled for the membership.
|
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.
|
Membership |
withArn(String arn)
The unique ARN for the membership.
|
Membership |
withCollaborationArn(String collaborationArn)
The unique ARN for the membership's associated collaboration.
|
Membership |
withCollaborationCreatorAccountId(String collaborationCreatorAccountId)
The identifier used to reference members of the collaboration.
|
Membership |
withCollaborationCreatorDisplayName(String collaborationCreatorDisplayName)
The display name of the collaboration creator.
|
Membership |
withCollaborationId(String collaborationId)
The unique ID for the membership's collaboration.
|
Membership |
withCollaborationName(String collaborationName)
The name of the membership's collaboration.
|
Membership |
withCreateTime(Date createTime)
The time when the membership was created.
|
Membership |
withDefaultResultConfiguration(MembershipProtectedQueryResultConfiguration defaultResultConfiguration)
The default protected query result configuration as specified by the member who can receive results.
|
Membership |
withId(String id)
The unique ID of the membership.
|
Membership |
withMemberAbilities(Collection<String> memberAbilities)
The abilities granted to the collaboration member.
|
Membership |
withMemberAbilities(MemberAbility... memberAbilities)
The abilities granted to the collaboration member.
|
Membership |
withMemberAbilities(String... memberAbilities)
The abilities granted to the collaboration member.
|
Membership |
withPaymentConfiguration(MembershipPaymentConfiguration paymentConfiguration)
The payment responsibilities accepted by the collaboration member.
|
Membership |
withQueryLogStatus(MembershipQueryLogStatus queryLogStatus)
An indicator as to whether query logging has been enabled or disabled for the membership.
|
Membership |
withQueryLogStatus(String queryLogStatus)
An indicator as to whether query logging has been enabled or disabled for the membership.
|
Membership |
withStatus(MembershipStatus status)
The status of the membership.
|
Membership |
withStatus(String status)
The status of the membership.
|
Membership |
withUpdateTime(Date updateTime)
The time the membership metadata was last updated.
|
public void setId(String id)
The unique ID of the membership.
id
- The unique ID of the membership.public String getId()
The unique ID of the membership.
public Membership withId(String id)
The unique ID of the membership.
id
- The unique ID of the membership.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 Membership 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 Membership 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 Membership 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 used to reference members of the collaboration. Currently only supports Amazon Web Services account ID.
collaborationCreatorAccountId
- The identifier used to reference members of the collaboration. Currently only supports Amazon Web Services
account ID.public String getCollaborationCreatorAccountId()
The identifier used to reference members of the collaboration. Currently only supports Amazon Web Services account ID.
public Membership withCollaborationCreatorAccountId(String collaborationCreatorAccountId)
The identifier used to reference members of the collaboration. Currently only supports Amazon Web Services account ID.
collaborationCreatorAccountId
- The identifier used to reference members of 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 Membership 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 of the membership's collaboration.
collaborationName
- The name of the membership's collaboration.public String getCollaborationName()
The name of the membership's collaboration.
public Membership withCollaborationName(String collaborationName)
The name of the membership's collaboration.
collaborationName
- The name of 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 Membership 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 Membership 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 Membership withStatus(String status)
The status of the membership.
status
- The status of the membership.MembershipStatus
public Membership 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 Membership 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 Membership withMemberAbilities(Collection<String> memberAbilities)
The abilities granted to the collaboration member.
memberAbilities
- The abilities granted to the collaboration member.MemberAbility
public Membership withMemberAbilities(MemberAbility... memberAbilities)
The abilities granted to the collaboration member.
memberAbilities
- The abilities granted to the collaboration member.MemberAbility
public void setQueryLogStatus(String queryLogStatus)
An indicator as to whether query logging has been enabled or disabled for the membership.
queryLogStatus
- An indicator as to whether query logging has been enabled or disabled for the membership.MembershipQueryLogStatus
public String getQueryLogStatus()
An indicator as to whether query logging has been enabled or disabled for the membership.
MembershipQueryLogStatus
public Membership withQueryLogStatus(String queryLogStatus)
An indicator as to whether query logging has been enabled or disabled for the membership.
queryLogStatus
- An indicator as to whether query logging has been enabled or disabled for the membership.MembershipQueryLogStatus
public Membership withQueryLogStatus(MembershipQueryLogStatus queryLogStatus)
An indicator as to whether query logging has been enabled or disabled for the membership.
queryLogStatus
- An indicator as to whether query logging has been enabled or disabled for the membership.MembershipQueryLogStatus
public void setDefaultResultConfiguration(MembershipProtectedQueryResultConfiguration defaultResultConfiguration)
The default protected query result configuration as specified by the member who can receive results.
defaultResultConfiguration
- The default protected query result configuration as specified by the member who can receive results.public MembershipProtectedQueryResultConfiguration getDefaultResultConfiguration()
The default protected query result configuration as specified by the member who can receive results.
public Membership withDefaultResultConfiguration(MembershipProtectedQueryResultConfiguration defaultResultConfiguration)
The default protected query result configuration as specified by the member who can receive results.
defaultResultConfiguration
- The default protected query result configuration as specified by the member who can receive results.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 Membership 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 Membership clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.