Interface GetMasterAccountResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMasterAccountResponse.Builder,,GetMasterAccountResponse> Macie2Response.Builder,SdkBuilder<GetMasterAccountResponse.Builder,,GetMasterAccountResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetMasterAccountResponse
@Mutable
@NotThreadSafe
public static interface GetMasterAccountResponse.Builder
extends Macie2Response.Builder, SdkPojo, CopyableBuilder<GetMasterAccountResponse.Builder,GetMasterAccountResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetMasterAccountResponse.Buildermaster(Consumer<Invitation.Builder> master) (Deprecated) The Amazon Web Services account ID for the administrator account.master(Invitation master) (Deprecated) The Amazon Web Services account ID for the administrator account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 theInvitation.Builderavoiding the need to create one manually viaInvitation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomaster(Invitation).- Parameters:
master- a consumer that will call methods onInvitation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-