@Generated(value="software.amazon.awssdk:codegen") public final class MembershipSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MembershipSummary.Builder,MembershipSummary>
The membership object listed by the request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MembershipSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The unique ARN for the membership.
|
static MembershipSummary.Builder |
builder() |
String |
collaborationArn()
The unique ARN for the membership's associated collaboration.
|
String |
collaborationCreatorAccountId()
The identifier of the AWS principal that created the collaboration.
|
String |
collaborationCreatorDisplayName()
The display name of the collaboration creator.
|
String |
collaborationId()
The unique ID for the membership's collaboration.
|
String |
collaborationName()
The name for the membership's collaboration.
|
Instant |
createTime()
The time when the membership was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasMemberAbilities()
For responses, this returns true if the service returned a value for the MemberAbilities property.
|
String |
id()
The unique ID for the membership's collaboration.
|
List<MemberAbility> |
memberAbilities()
The abilities granted to the collaboration member.
|
List<String> |
memberAbilitiesAsStrings()
The abilities granted to the collaboration member.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MembershipSummary.Builder> |
serializableBuilderClass() |
MembershipStatus |
status()
The status of the membership.
|
String |
statusAsString()
The status of the membership.
|
MembershipSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updateTime()
The time the membership metadata was last updated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The unique ID for the membership's collaboration.
public final String arn()
The unique ARN for the membership.
public final String collaborationArn()
The unique ARN for the membership's associated collaboration.
public final String collaborationId()
The unique ID for the membership's collaboration.
public final String collaborationCreatorAccountId()
The identifier of the AWS principal that created the collaboration. Currently only supports AWS account ID.
public final String collaborationCreatorDisplayName()
The display name of the collaboration creator.
public final String collaborationName()
The name for the membership's collaboration.
public final Instant createTime()
The time when the membership was created.
public final Instant updateTime()
The time the membership metadata was last updated.
public final MembershipStatus status()
The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and `COLLABORATION_DELETED`.
If the service returns an enum value that is not available in the current SDK version, status will
return MembershipStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
MembershipStatuspublic final String statusAsString()
The status of the membership. Valid values are `ACTIVE`, `REMOVED`, and `COLLABORATION_DELETED`.
If the service returns an enum value that is not available in the current SDK version, status will
return MembershipStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
MembershipStatuspublic final List<MemberAbility> memberAbilities()
The abilities granted to the collaboration member.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasMemberAbilities() method.
public final boolean hasMemberAbilities()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> memberAbilitiesAsStrings()
The abilities granted to the collaboration member.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasMemberAbilities() method.
public MembershipSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MembershipSummary.Builder,MembershipSummary>public static MembershipSummary.Builder builder()
public static Class<? extends MembershipSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.