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.Builder
master
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods 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.Builder
avoiding the need to create one manually viaInvitation.builder()
.When the
Consumer
completes,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:
-