public static interface ListAccountPermissionsResponse.Builder extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<ListAccountPermissionsResponse.Builder,ListAccountPermissionsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListAccountPermissionsResponse.Builder |
nextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
ListAccountPermissionsResponse.Builder |
permissions(Collection<Permission> permissions)
Contains details on the permissions an account has to configure Amazon Inspector.
|
ListAccountPermissionsResponse.Builder |
permissions(Consumer<Permission.Builder>... permissions)
Contains details on the permissions an account has to configure Amazon Inspector.
|
ListAccountPermissionsResponse.Builder |
permissions(Permission... permissions)
Contains details on the permissions an account has to configure Amazon Inspector.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListAccountPermissionsResponse.Builder nextToken(String 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 NextToken value
returned from the previous request to continue listing results after the first page.
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
NextToken value returned from the previous request to continue listing results after the
first page.ListAccountPermissionsResponse.Builder permissions(Collection<Permission> permissions)
Contains details on the permissions an account has to configure Amazon Inspector.
permissions - Contains details on the permissions an account has to configure Amazon Inspector.ListAccountPermissionsResponse.Builder permissions(Permission... permissions)
Contains details on the permissions an account has to configure Amazon Inspector.
permissions - Contains details on the permissions an account has to configure Amazon Inspector.ListAccountPermissionsResponse.Builder permissions(Consumer<Permission.Builder>... permissions)
Contains details on the permissions an account has to configure Amazon Inspector.
This is a convenience method that creates an instance of thePermission.Builder avoiding the need to create one
manually via Permission.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #permissions(List.
permissions - a consumer that will call methods on
Permission.Builder#permissions(java.util.Collection) Copyright © 2023. All rights reserved.