Interface ListAccountPermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAccountPermissionsResponse.Builder,
,ListAccountPermissionsResponse> Inspector2Response.Builder
,SdkBuilder<ListAccountPermissionsResponse.Builder,
,ListAccountPermissionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListAccountPermissionsResponse
public static interface ListAccountPermissionsResponse.Builder
extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<ListAccountPermissionsResponse.Builder,ListAccountPermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token to use for paginating results that are returned in the response.permissions
(Collection<Permission> permissions) Contains details on the permissions an account has to configure Amazon Inspector.permissions
(Consumer<Permission.Builder>... permissions) Contains details on the permissions an account has to configure Amazon Inspector.permissions
(Permission... permissions) Contains details on the permissions an account has to configure Amazon Inspector.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
-
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.- 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 theNextToken
value 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.
-
permissions
Contains details on the permissions an account has to configure Amazon Inspector.
- Parameters:
permissions
- Contains details on the permissions an account has to configure Amazon Inspector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
Contains details on the permissions an account has to configure Amazon Inspector.
- Parameters:
permissions
- Contains details on the permissions an account has to configure Amazon Inspector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaPermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topermissions(List<Permission>)
.- Parameters:
permissions
- a consumer that will call methods onPermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-