Interface ListAccountPermissionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListAccountPermissionsRequest.Builder,ListAccountPermissionsRequest>,Inspector2Request.Builder,SdkBuilder<ListAccountPermissionsRequest.Builder,ListAccountPermissionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListAccountPermissionsRequest
public static interface ListAccountPermissionsRequest.Builder extends Inspector2Request.Builder, SdkPojo, CopyableBuilder<ListAccountPermissionsRequest.Builder,ListAccountPermissionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAccountPermissionsRequest.BuildermaxResults(Integer maxResults)The maximum number of results the response can return.ListAccountPermissionsRequest.BuildernextToken(String nextToken)A token to use for paginating results that are returned in the response.ListAccountPermissionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListAccountPermissionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListAccountPermissionsRequest.Builderservice(String service)The service scan type to check permissions for.ListAccountPermissionsRequest.Builderservice(Service service)The service scan type to check permissions for.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
maxResults
ListAccountPermissionsRequest.Builder maxResults(Integer maxResults)
The maximum number of results the response can return. If your request would return more than the maximum the response will return a
nextTokenvalue, use this value when you call the action again to get the remaining results.- Parameters:
maxResults- The maximum number of results the response can return. If your request would return more than the maximum the response will return anextTokenvalue, use this value when you call the action again to get the remaining results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListAccountPermissionsRequest.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. If your response returns more than the
maxResultsmaximum value it will also return anextTokenvalue. 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. If your response returns more than themaxResultsmaximum value it will also return anextTokenvalue. For subsequent calls, use the NextToken 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.
-
service
ListAccountPermissionsRequest.Builder service(String service)
The service scan type to check permissions for.
-
service
ListAccountPermissionsRequest.Builder service(Service service)
The service scan type to check permissions for.
-
overrideConfiguration
ListAccountPermissionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListAccountPermissionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-