Interface GetDelegatedAdminAccountResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDelegatedAdminAccountResponse.Builder,,GetDelegatedAdminAccountResponse> Inspector2Response.Builder,SdkBuilder<GetDelegatedAdminAccountResponse.Builder,,GetDelegatedAdminAccountResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDelegatedAdminAccountResponse
public static interface GetDelegatedAdminAccountResponse.Builder
extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<GetDelegatedAdminAccountResponse.Builder,GetDelegatedAdminAccountResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondelegatedAdmin(Consumer<DelegatedAdmin.Builder> delegatedAdmin) The Amazon Web Services account ID of the Amazon Inspector delegated administrator.delegatedAdmin(DelegatedAdmin delegatedAdmin) The Amazon Web Services account ID of the Amazon Inspector delegated administrator.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
delegatedAdmin
The Amazon Web Services account ID of the Amazon Inspector delegated administrator.
- Parameters:
delegatedAdmin- The Amazon Web Services account ID of the Amazon Inspector delegated administrator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegatedAdmin
default GetDelegatedAdminAccountResponse.Builder delegatedAdmin(Consumer<DelegatedAdmin.Builder> delegatedAdmin) The Amazon Web Services account ID of the Amazon Inspector delegated administrator.
This is a convenience method that creates an instance of theDelegatedAdmin.Builderavoiding the need to create one manually viaDelegatedAdmin.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todelegatedAdmin(DelegatedAdmin).- Parameters:
delegatedAdmin- a consumer that will call methods onDelegatedAdmin.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-