Interface ListAccessGrantsInstancesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListAccessGrantsInstancesRequest.Builder,
,ListAccessGrantsInstancesRequest> S3ControlRequest.Builder
,SdkBuilder<ListAccessGrantsInstancesRequest.Builder,
,ListAccessGrantsInstancesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListAccessGrantsInstancesRequest
public static interface ListAccessGrantsInstancesRequest.Builder
extends S3ControlRequest.Builder, SdkPojo, CopyableBuilder<ListAccessGrantsInstancesRequest.Builder,ListAccessGrantsInstancesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Amazon Web Services account that is making this request.maxResults
(Integer maxResults) The maximum number of access grants that you would like returned in theList Access Grants
response.A pagination token to request the next page of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.s3control.model.S3ControlRequest.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 Details
-
accountId
The ID of the Amazon Web Services account that is making this request.
- Parameters:
accountId
- The ID of the Amazon Web Services account that is making this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants Instances
request in order to retrieve the next page of results.- Parameters:
nextToken
- A pagination token to request the next page of results. Pass this value into a subsequentList Access Grants Instances
request in order to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of access grants that you would like returned in the
List Access Grants
response. If the results include the pagination tokenNextToken
, make another call using theNextToken
to determine if there are more results.- Parameters:
maxResults
- The maximum number of access grants that you would like returned in theList Access Grants
response. If the results include the pagination tokenNextToken
, make another call using theNextToken
to determine if there are more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListAccessGrantsInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListAccessGrantsInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-