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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetMasterAccountResponse.Buildermaster(Consumer<Invitation.Builder> master)(Deprecated) The Amazon Web Services account ID for the administrator account.GetMasterAccountResponse.Buildermaster(Invitation master)(Deprecated) The Amazon Web Services account ID for the administrator account.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
master
GetMasterAccountResponse.Builder master(Invitation 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
default GetMasterAccountResponse.Builder master(Consumer<Invitation.Builder> 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:
master(Invitation)
-
-