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
copy
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadata
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
-
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.Builder
avoiding the need to create one manually viaDelegatedAdmin.builder()
.When the
Consumer
completes,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:
-