Interface GetAdministratorAccountResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAdministratorAccountResponse.Builder,,GetAdministratorAccountResponse> SdkBuilder<GetAdministratorAccountResponse.Builder,,GetAdministratorAccountResponse> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
GetAdministratorAccountResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
-
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.Builderavoiding the need to create one manually viaInvitation.builder().When the
Consumercompletes,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:
-