Class ListAccessGrantsLocationsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.s3control.model.S3ControlRequest
-
- software.amazon.awssdk.services.s3control.model.ListAccessGrantsLocationsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListAccessGrantsLocationsRequest.Builder,ListAccessGrantsLocationsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListAccessGrantsLocationsRequest extends S3ControlRequest implements ToCopyableBuilder<ListAccessGrantsLocationsRequest.Builder,ListAccessGrantsLocationsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListAccessGrantsLocationsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The ID of the Amazon Web Services account that is making this request.static ListAccessGrantsLocationsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlocationScope()The S3 path to the location that you are registering.IntegermaxResults()The maximum number of access grants that you would like returned in theList Access Grantsresponse.StringnextToken()A pagination token to request the next page of results.List<SdkField<?>>sdkFields()static Class<? extends ListAccessGrantsLocationsRequest.Builder>serializableBuilderClass()ListAccessGrantsLocationsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
accountId
public final String accountId()
The ID of the Amazon Web Services account that is making this request.
- Returns:
- The ID of the Amazon Web Services account that is making this request.
-
nextToken
public final 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.- Returns:
- 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.
-
maxResults
public final Integer maxResults()
The maximum number of access grants that you would like returned in the
List Access Grantsresponse. If the results include the pagination tokenNextToken, make another call using theNextTokento determine if there are more results.- Returns:
- The maximum number of access grants that you would like returned in the
List Access Grantsresponse. If the results include the pagination tokenNextToken, make another call using theNextTokento determine if there are more results.
-
locationScope
public final String locationScope()
The S3 path to the location that you are registering. The location scope can be the default S3 location
s3://, the S3 path to a buckets3://<bucket>, or the S3 path to a bucket and prefixs3://<bucket>/<prefix>. A prefix in S3 is a string of characters at the beginning of an object key name used to organize the objects that you store in your S3 buckets. For example, object key names that start with theengineering/prefix or object key names that start with themarketing/campaigns/prefix.- Returns:
- The S3 path to the location that you are registering. The location scope can be the default S3 location
s3://, the S3 path to a buckets3://<bucket>, or the S3 path to a bucket and prefixs3://<bucket>/<prefix>. A prefix in S3 is a string of characters at the beginning of an object key name used to organize the objects that you store in your S3 buckets. For example, object key names that start with theengineering/prefix or object key names that start with themarketing/campaigns/prefix.
-
toBuilder
public ListAccessGrantsLocationsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListAccessGrantsLocationsRequest.Builder,ListAccessGrantsLocationsRequest>- Specified by:
toBuilderin classS3ControlRequest
-
builder
public static ListAccessGrantsLocationsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListAccessGrantsLocationsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-