Interface ListDelegatedAdminAccountsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDelegatedAdminAccountsResponse.Builder,,ListDelegatedAdminAccountsResponse> Inspector2Response.Builder,SdkBuilder<ListDelegatedAdminAccountsResponse.Builder,,ListDelegatedAdminAccountsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDelegatedAdminAccountsResponse
public static interface ListDelegatedAdminAccountsResponse.Builder
extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<ListDelegatedAdminAccountsResponse.Builder,ListDelegatedAdminAccountsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondelegatedAdminAccounts(Collection<DelegatedAdminAccount> delegatedAdminAccounts) Details of the Amazon Inspector delegated administrator of your organization.delegatedAdminAccounts(Consumer<DelegatedAdminAccount.Builder>... delegatedAdminAccounts) Details of the Amazon Inspector delegated administrator of your organization.delegatedAdminAccounts(DelegatedAdminAccount... delegatedAdminAccounts) Details of the Amazon Inspector delegated administrator of your organization.A token to use for paginating results that are returned in the response.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
-
delegatedAdminAccounts
ListDelegatedAdminAccountsResponse.Builder delegatedAdminAccounts(Collection<DelegatedAdminAccount> delegatedAdminAccounts) Details of the Amazon Inspector delegated administrator of your organization.
- Parameters:
delegatedAdminAccounts- Details of the Amazon Inspector delegated administrator of your organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegatedAdminAccounts
ListDelegatedAdminAccountsResponse.Builder delegatedAdminAccounts(DelegatedAdminAccount... delegatedAdminAccounts) Details of the Amazon Inspector delegated administrator of your organization.
- Parameters:
delegatedAdminAccounts- Details of the Amazon Inspector delegated administrator of your organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegatedAdminAccounts
ListDelegatedAdminAccountsResponse.Builder delegatedAdminAccounts(Consumer<DelegatedAdminAccount.Builder>... delegatedAdminAccounts) Details of the Amazon Inspector delegated administrator of your organization.
This is a convenience method that creates an instance of theDelegatedAdminAccount.Builderavoiding the need to create one manually viaDelegatedAdminAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todelegatedAdminAccounts(List<DelegatedAdminAccount>).- Parameters:
delegatedAdminAccounts- a consumer that will call methods onDelegatedAdminAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the
NextTokenvalue returned from the previous request to continue listing results after the first page.- Parameters:
nextToken- A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use theNextTokenvalue returned from the previous request to continue listing results after the first page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-