Class Invitation
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.model.Invitation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Invitation.Builder,Invitation>
@Generated("software.amazon.awssdk:codegen") public final class Invitation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Invitation.Builder,Invitation>
Contains information about the invitation to become a member account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInvitation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The ID of the account that the invitation was sent from.static Invitation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinvitationId()The ID of the invitation.StringinvitedAt()The timestamp when the invitation was sent.StringrelationshipStatus()The status of the relationship between the inviter and invitee accounts.List<SdkField<?>>sdkFields()static Class<? extends Invitation.Builder>serializableBuilderClass()Invitation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
accountId
public final String accountId()
The ID of the account that the invitation was sent from.
- Returns:
- The ID of the account that the invitation was sent from.
-
invitationId
public final String invitationId()
The ID of the invitation. This value is used to validate the inviter account to the member account.
- Returns:
- The ID of the invitation. This value is used to validate the inviter account to the member account.
-
relationshipStatus
public final String relationshipStatus()
The status of the relationship between the inviter and invitee accounts.
- Returns:
- The status of the relationship between the inviter and invitee accounts.
-
invitedAt
public final String invitedAt()
The timestamp when the invitation was sent.
- Returns:
- The timestamp when the invitation was sent.
-
toBuilder
public Invitation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Invitation.Builder,Invitation>
-
builder
public static Invitation.Builder builder()
-
serializableBuilderClass
public static Class<? extends Invitation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-