@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 that was received by an account.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Invitation.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The AWS 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 (inviter account) and the
account that received the invitation (invitee account).
|
String |
relationshipStatusAsString()
The status of the relationship between the account that sent the invitation (inviter account) and the
account that received the invitation (invitee account).
|
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 String accountId()
The AWS account ID for the account that sent the invitation.
public String invitationId()
The unique identifier for the invitation. Amazon Macie uses this identifier to validate the inviter account with the invitee account.
public Instant invitedAt()
The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
public RelationshipStatus relationshipStatus()
The status of the relationship between the account that sent the invitation (inviter account) and the account that received the invitation (invitee account).
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 String relationshipStatusAsString()
The status of the relationship between the account that sent the invitation (inviter account) and the account that received the invitation (invitee account).
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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.