Interface GetAdministratorAccountResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetAdministratorAccountResponse.Builder,GetAdministratorAccountResponse>, Macie2Response.Builder, SdkBuilder<GetAdministratorAccountResponse.Builder,GetAdministratorAccountResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetAdministratorAccountResponse

public static interface GetAdministratorAccountResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<GetAdministratorAccountResponse.Builder,GetAdministratorAccountResponse>
  • Method Details

    • administrator

      The Amazon Web Services account ID for the administrator account. If the accounts are associated by an Amazon Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.

      Parameters:
      administrator - The Amazon Web Services account ID for the administrator account. If the accounts are associated by an Amazon Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • administrator

      The Amazon Web Services account ID for the administrator account. If the accounts are associated by an Amazon Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.

      This is a convenience method that creates an instance of the Invitation.Builder avoiding the need to create one manually via Invitation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to administrator(Invitation).

      Parameters:
      administrator - a consumer that will call methods on Invitation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: