Interface GetAdministratorAccountResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetAdministratorAccountResponse.Builder,
,GetAdministratorAccountResponse> SdkBuilder<GetAdministratorAccountResponse.Builder,
,GetAdministratorAccountResponse> SdkPojo
,SdkResponse.Builder
,SecurityHubResponse.Builder
- Enclosing class:
GetAdministratorAccountResponse
public static interface GetAdministratorAccountResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<GetAdministratorAccountResponse.Builder,GetAdministratorAccountResponse>
-
Method Summary
Modifier and TypeMethodDescriptionadministrator
(Consumer<Invitation.Builder> administrator) Sets the value of the Administrator property for this object.administrator
(Invitation administrator) Sets the value of the Administrator property for this object.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
-
administrator
Sets the value of the Administrator property for this object.- Parameters:
administrator
- The new value for the Administrator property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
administrator
default GetAdministratorAccountResponse.Builder administrator(Consumer<Invitation.Builder> administrator) Sets the value of the Administrator property for this object. 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 toadministrator(Invitation)
.- Parameters:
administrator
- 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:
-