Interface ListAccessGrantsLocationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAccessGrantsLocationsResponse.Builder,ListAccessGrantsLocationsResponse>,S3ControlResponse.Builder,SdkBuilder<ListAccessGrantsLocationsResponse.Builder,ListAccessGrantsLocationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAccessGrantsLocationsResponse
public static interface ListAccessGrantsLocationsResponse.Builder extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<ListAccessGrantsLocationsResponse.Builder,ListAccessGrantsLocationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAccessGrantsLocationsResponse.BuilderaccessGrantsLocationsList(Collection<ListAccessGrantsLocationsEntry> accessGrantsLocationsList)A container for a list of registered locations in an S3 Access Grants instance.ListAccessGrantsLocationsResponse.BuilderaccessGrantsLocationsList(Consumer<ListAccessGrantsLocationsEntry.Builder>... accessGrantsLocationsList)A container for a list of registered locations in an S3 Access Grants instance.ListAccessGrantsLocationsResponse.BuilderaccessGrantsLocationsList(ListAccessGrantsLocationsEntry... accessGrantsLocationsList)A container for a list of registered locations in an S3 Access Grants instance.ListAccessGrantsLocationsResponse.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
ListAccessGrantsLocationsResponse.Builder nextToken(String nextToken)
A pagination token to request the next page of results. Pass this value into a subsequent
List Access Grants Locationsrequest 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 Locationsrequest in order to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessGrantsLocationsList
ListAccessGrantsLocationsResponse.Builder accessGrantsLocationsList(Collection<ListAccessGrantsLocationsEntry> accessGrantsLocationsList)
A container for a list of registered locations in an S3 Access Grants instance.
- Parameters:
accessGrantsLocationsList- A container for a list of registered locations in an S3 Access Grants instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessGrantsLocationsList
ListAccessGrantsLocationsResponse.Builder accessGrantsLocationsList(ListAccessGrantsLocationsEntry... accessGrantsLocationsList)
A container for a list of registered locations in an S3 Access Grants instance.
- Parameters:
accessGrantsLocationsList- A container for a list of registered locations in an S3 Access Grants instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessGrantsLocationsList
ListAccessGrantsLocationsResponse.Builder accessGrantsLocationsList(Consumer<ListAccessGrantsLocationsEntry.Builder>... accessGrantsLocationsList)
A container for a list of registered locations in an S3 Access Grants instance.
This is a convenience method that creates an instance of theListAccessGrantsLocationsEntry.Builderavoiding the need to create one manually viaListAccessGrantsLocationsEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accessGrantsLocationsList(List.) - Parameters:
accessGrantsLocationsList- a consumer that will call methods onListAccessGrantsLocationsEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#accessGrantsLocationsList(java.util.Collection)
-
-