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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetMasterAccountResponse.Buildermaster(Consumer<Invitation.Builder> master)A list of details about the Security Hub administrator account for the current member account.GetMasterAccountResponse.Buildermaster(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 Detail
-
master
GetMasterAccountResponse.Builder master(Invitation 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
default GetMasterAccountResponse.Builder master(Consumer<Invitation.Builder> 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:
master(Invitation)
-
-