Interface GetMasterAccountResponse.Builder

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

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

    • master

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

      Parameters:
      master - (Deprecated) The Amazon Web Services account ID for the administrator account. If the accounts are associated by a 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.
    • master

      (Deprecated) The Amazon Web Services account ID for the administrator account. If the accounts are associated by a 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 master(Invitation).

      Parameters:
      master - 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: