Class DeleteAccessGrantRequest
- 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.DeleteAccessGrantRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteAccessGrantRequest.Builder,DeleteAccessGrantRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteAccessGrantRequest extends S3ControlRequest implements ToCopyableBuilder<DeleteAccessGrantRequest.Builder,DeleteAccessGrantRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteAccessGrantRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccessGrantId()The ID of the access grant.StringaccountId()The ID of the Amazon Web Services account that is making this request.static DeleteAccessGrantRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DeleteAccessGrantRequest.Builder>serializableBuilderClass()DeleteAccessGrantRequest.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.
-
accessGrantId
public final String accessGrantId()
The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
- Returns:
- The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
-
toBuilder
public DeleteAccessGrantRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteAccessGrantRequest.Builder,DeleteAccessGrantRequest>- Specified by:
toBuilderin classS3ControlRequest
-
builder
public static DeleteAccessGrantRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteAccessGrantRequest.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
-
-