@Generated(value="software.amazon.awssdk:codegen") public final class Invitation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Invitation.Builder,Invitation>
Provides information about an Amazon Macie membership invitation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Invitation.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The Amazon Web Services account ID for the account that sent the invitation.
|
static Invitation.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
invitationId()
The unique identifier for the invitation.
|
Instant |
invitedAt()
The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
|
RelationshipStatus |
relationshipStatus()
The status of the relationship between the account that sent the invitation and the account that received the
invitation.
|
String |
relationshipStatusAsString()
The status of the relationship between the account that sent the invitation and the account that received the
invitation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Invitation.Builder> |
serializableBuilderClass() |
Invitation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The Amazon Web Services account ID for the account that sent the invitation.
public final String invitationId()
The unique identifier for the invitation.
public final Instant invitedAt()
The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
public final RelationshipStatus relationshipStatus()
The status of the relationship between the account that sent the invitation and the account that received the invitation.
If the service returns an enum value that is not available in the current SDK version,
relationshipStatus will return RelationshipStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from relationshipStatusAsString().
RelationshipStatuspublic final String relationshipStatusAsString()
The status of the relationship between the account that sent the invitation and the account that received the invitation.
If the service returns an enum value that is not available in the current SDK version,
relationshipStatus will return RelationshipStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from relationshipStatusAsString().
RelationshipStatuspublic Invitation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Invitation.Builder,Invitation>public static Invitation.Builder builder()
public static Class<? extends Invitation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.