Interface GetMasterAccountResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMasterAccountResponse.Builder,,GetMasterAccountResponse> SdkBuilder<GetMasterAccountResponse.Builder,,GetMasterAccountResponse> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
GetMasterAccountResponse
public static interface GetMasterAccountResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetMasterAccountResponse.Builder,GetMasterAccountResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetMasterAccountResponse.Buildermaster(Consumer<Invitation.Builder> master) A list of details about the Security Hub administrator account for the current member account.master(Invitation master) A list of details about the Security Hub administrator account for the current member account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
master
A list of details about the Security Hub administrator account for the current member account.
- Parameters:
master- A list of details about the Security Hub administrator account for the current member account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
master
A list of details about the Security Hub administrator account for the current member account.
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:
-