Interface GetAdminAccountResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAdminAccountResponse.Builder,,GetAdminAccountResponse> NetworkSecurityManagerResponse.Builder,SdkBuilder<GetAdminAccountResponse.Builder,,GetAdminAccountResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAdminAccountResponse
@Mutable
@NotThreadSafe
public static interface GetAdminAccountResponse.Builder
extends NetworkSecurityManagerResponse.Builder, SdkPojo, CopyableBuilder<GetAdminAccountResponse.Builder,GetAdminAccountResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAdminAccountResponse.BuilderadminAccountDetails(Consumer<AdminAccountDetails.Builder> adminAccountDetails) The details of the administrator account.adminAccountDetails(AdminAccountDetails adminAccountDetails) The details of the administrator account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networksecuritymanager.model.NetworkSecurityManagerResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
adminAccountDetails
The details of the administrator account.
- Parameters:
adminAccountDetails- The details of the administrator account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminAccountDetails
default GetAdminAccountResponse.Builder adminAccountDetails(Consumer<AdminAccountDetails.Builder> adminAccountDetails) The details of the administrator account.
This is a convenience method that creates an instance of theAdminAccountDetails.Builderavoiding the need to create one manually viaAdminAccountDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadminAccountDetails(AdminAccountDetails).- Parameters:
adminAccountDetails- a consumer that will call methods onAdminAccountDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-