Class AcceptInvitationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.macie2.model.Macie2Request
-
- software.amazon.awssdk.services.macie2.model.AcceptInvitationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AcceptInvitationRequest.Builder,AcceptInvitationRequest>
@Generated("software.amazon.awssdk:codegen") public final class AcceptInvitationRequest extends Macie2Request implements ToCopyableBuilder<AcceptInvitationRequest.Builder,AcceptInvitationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAcceptInvitationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringadministratorAccountId()The Amazon Web Services account ID for the account that sent the invitation.static AcceptInvitationRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinvitationId()The unique identifier for the invitation to accept.StringmasterAccount()(Deprecated) The Amazon Web Services account ID for the account that sent the invitation.List<SdkField<?>>sdkFields()static Class<? extends AcceptInvitationRequest.Builder>serializableBuilderClass()AcceptInvitationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
administratorAccountId
public final String administratorAccountId()
The Amazon Web Services account ID for the account that sent the invitation.
- Returns:
- The Amazon Web Services account ID for the account that sent the invitation.
-
invitationId
public final String invitationId()
The unique identifier for the invitation to accept.
- Returns:
- The unique identifier for the invitation to accept.
-
masterAccount
public final String masterAccount()
(Deprecated) The Amazon Web Services account ID for the account that sent the invitation. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
- Returns:
- (Deprecated) The Amazon Web Services account ID for the account that sent the invitation. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
-
toBuilder
public AcceptInvitationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AcceptInvitationRequest.Builder,AcceptInvitationRequest>- Specified by:
toBuilderin classMacie2Request
-
builder
public static AcceptInvitationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AcceptInvitationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-