@Generated(value="software.amazon.awssdk:codegen") public final class Membership extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Membership.Builder,Membership>
The membership object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Membership.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The unique ARN for the membership.
|
static Membership.Builder |
builder() |
String |
collaborationArn()
The unique ARN for the membership's associated collaboration.
|
String |
collaborationCreatorAccountId()
The identifier used to reference members of 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 of 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 of the membership.
|
List<MemberAbility> |
memberAbilities()
The abilities granted to the collaboration member.
|
List<String> |
memberAbilitiesAsStrings()
The abilities granted to the collaboration member.
|
MembershipQueryLogStatus |
queryLogStatus()
An indicator as to whether query logging has been enabled or disabled for the collaboration.
|
String |
queryLogStatusAsString()
An indicator as to whether query logging has been enabled or disabled for the collaboration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Membership.Builder> |
serializableBuilderClass() |
MembershipStatus |
status()
The status of the membership.
|
String |
statusAsString()
The status of the membership.
|
Membership.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 of the membership.
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 used to reference members of 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 of 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 final MembershipQueryLogStatus queryLogStatus()
An indicator as to whether query logging has been enabled or disabled for the collaboration.
If the service returns an enum value that is not available in the current SDK version, queryLogStatus
will return MembershipQueryLogStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from queryLogStatusAsString().
MembershipQueryLogStatuspublic final String queryLogStatusAsString()
An indicator as to whether query logging has been enabled or disabled for the collaboration.
If the service returns an enum value that is not available in the current SDK version, queryLogStatus
will return MembershipQueryLogStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from queryLogStatusAsString().
MembershipQueryLogStatuspublic Membership.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Membership.Builder,Membership>public static Membership.Builder builder()
public static Class<? extends Membership.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.