Interface ListAccessGrantsInstancesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAccessGrantsInstancesResponse.Builder,ListAccessGrantsInstancesResponse>,S3ControlResponse.Builder,SdkBuilder<ListAccessGrantsInstancesResponse.Builder,ListAccessGrantsInstancesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAccessGrantsInstancesResponse
public static interface ListAccessGrantsInstancesResponse.Builder extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<ListAccessGrantsInstancesResponse.Builder,ListAccessGrantsInstancesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAccessGrantsInstancesResponse.BuilderaccessGrantsInstancesList(Collection<ListAccessGrantsInstanceEntry> accessGrantsInstancesList)A container for a list of S3 Access Grants instances.ListAccessGrantsInstancesResponse.BuilderaccessGrantsInstancesList(Consumer<ListAccessGrantsInstanceEntry.Builder>... accessGrantsInstancesList)A container for a list of S3 Access Grants instances.ListAccessGrantsInstancesResponse.BuilderaccessGrantsInstancesList(ListAccessGrantsInstanceEntry... accessGrantsInstancesList)A container for a list of S3 Access Grants instances.ListAccessGrantsInstancesResponse.BuildernextToken(String nextToken)A pagination token to request the next page of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlResponse.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 Detail
-
nextToken
ListAccessGrantsInstancesResponse.Builder nextToken(String nextToken)
A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants Instancesrequest 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 Instancesrequest in order to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessGrantsInstancesList
ListAccessGrantsInstancesResponse.Builder accessGrantsInstancesList(Collection<ListAccessGrantsInstanceEntry> accessGrantsInstancesList)
A container for a list of S3 Access Grants instances.
- Parameters:
accessGrantsInstancesList- A container for a list of S3 Access Grants instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessGrantsInstancesList
ListAccessGrantsInstancesResponse.Builder accessGrantsInstancesList(ListAccessGrantsInstanceEntry... accessGrantsInstancesList)
A container for a list of S3 Access Grants instances.
- Parameters:
accessGrantsInstancesList- A container for a list of S3 Access Grants instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessGrantsInstancesList
ListAccessGrantsInstancesResponse.Builder accessGrantsInstancesList(Consumer<ListAccessGrantsInstanceEntry.Builder>... accessGrantsInstancesList)
A container for a list of S3 Access Grants instances.
This is a convenience method that creates an instance of theListAccessGrantsInstanceEntry.Builderavoiding the need to create one manually viaListAccessGrantsInstanceEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accessGrantsInstancesList(List.) - Parameters:
accessGrantsInstancesList- a consumer that will call methods onListAccessGrantsInstanceEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#accessGrantsInstancesList(java.util.Collection)
-
-