Class GetAccessGrantsLocationRequest
- 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.GetAccessGrantsLocationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetAccessGrantsLocationRequest.Builder,GetAccessGrantsLocationRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetAccessGrantsLocationRequest extends S3ControlRequest implements ToCopyableBuilder<GetAccessGrantsLocationRequest.Builder,GetAccessGrantsLocationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetAccessGrantsLocationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccessGrantsLocationId()The ID of the registered location that you are retrieving.StringaccountId()The ID of the Amazon Web Services account that is making this request.static GetAccessGrantsLocationRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends GetAccessGrantsLocationRequest.Builder>serializableBuilderClass()GetAccessGrantsLocationRequest.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.
-
accessGrantsLocationId
public final String accessGrantsLocationId()
The ID of the registered location that you are retrieving. S3 Access Grants assigns this ID when you register the location. S3 Access Grants assigns the ID
defaultto the default locations3://and assigns an auto-generated ID to other locations that you register.- Returns:
- The ID of the registered location that you are retrieving. S3 Access Grants assigns this ID when you
register the location. S3 Access Grants assigns the ID
defaultto the default locations3://and assigns an auto-generated ID to other locations that you register.
-
toBuilder
public GetAccessGrantsLocationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetAccessGrantsLocationRequest.Builder,GetAccessGrantsLocationRequest>- Specified by:
toBuilderin classS3ControlRequest
-
builder
public static GetAccessGrantsLocationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetAccessGrantsLocationRequest.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
-
-