Class ListCallerAccessGrantsRequest
- 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.ListCallerAccessGrantsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListCallerAccessGrantsRequest.Builder,ListCallerAccessGrantsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListCallerAccessGrantsRequest extends S3ControlRequest implements ToCopyableBuilder<ListCallerAccessGrantsRequest.Builder,ListCallerAccessGrantsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListCallerAccessGrantsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The Amazon Web Services account ID of the S3 Access Grants instance.BooleanallowedByApplication()If this optional parameter is passed in the request, a filter is applied to the results.static ListCallerAccessGrantsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgrantScope()The S3 path of the data that you would like to access.inthashCode()IntegermaxResults()The maximum number of access grants that you would like returned in theList Caller Access Grantsresponse.StringnextToken()A pagination token to request the next page of results.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListCallerAccessGrantsRequest.Builder>serializableBuilderClass()ListCallerAccessGrantsRequest.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 Amazon Web Services account ID of the S3 Access Grants instance.
- Returns:
- The Amazon Web Services account ID of the S3 Access Grants instance.
-
grantScope
public final String grantScope()
The S3 path of the data that you would like to access. Must start with
s3://. You can optionally pass only the beginning characters of a path, and S3 Access Grants will search for all applicable grants for the path fragment.- Returns:
- The S3 path of the data that you would like to access. Must start with
s3://. You can optionally pass only the beginning characters of a path, and S3 Access Grants will search for all applicable grants for the path fragment.
-
nextToken
public final String nextToken()
A pagination token to request the next page of results. Pass this value into a subsequent
List Caller Access Grantsrequest 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 Caller Access Grantsrequest 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 Caller 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 Caller Access Grantsresponse. If the results include the pagination tokenNextToken, make another call using theNextTokento determine if there are more results.
-
allowedByApplication
public final Boolean allowedByApplication()
If this optional parameter is passed in the request, a filter is applied to the results. The results will include only the access grants for the caller's Identity Center application or for any other applications (
ALL).- Returns:
- If this optional parameter is passed in the request, a filter is applied to the results. The results will
include only the access grants for the caller's Identity Center application or for any other applications
(
ALL).
-
toBuilder
public ListCallerAccessGrantsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListCallerAccessGrantsRequest.Builder,ListCallerAccessGrantsRequest>- Specified by:
toBuilderin classS3ControlRequest
-
builder
public static ListCallerAccessGrantsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListCallerAccessGrantsRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-