Class UpdateAccessGrantsLocationResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.s3control.model.S3ControlResponse
-
- software.amazon.awssdk.services.s3control.model.UpdateAccessGrantsLocationResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAccessGrantsLocationResponse.Builder,UpdateAccessGrantsLocationResponse>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAccessGrantsLocationResponse extends S3ControlResponse implements ToCopyableBuilder<UpdateAccessGrantsLocationResponse.Builder,UpdateAccessGrantsLocationResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAccessGrantsLocationResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccessGrantsLocationArn()The Amazon Resource Name (ARN) of the registered location that you are updating.StringaccessGrantsLocationId()The ID of the registered location to which you are granting access.static UpdateAccessGrantsLocationResponse.Builderbuilder()InstantcreatedAt()The date and time when you registered the location.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringiamRoleArn()The Amazon Resource Name (ARN) of the IAM role of the registered location.StringlocationScope()The S3 URI path of the location that you are updating.List<SdkField<?>>sdkFields()static Class<? extends UpdateAccessGrantsLocationResponse.Builder>serializableBuilderClass()UpdateAccessGrantsLocationResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.s3control.model.S3ControlResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
createdAt
public final Instant createdAt()
The date and time when you registered the location.
- Returns:
- The date and time when you registered the location.
-
accessGrantsLocationId
public final String accessGrantsLocationId()
The ID of the registered location to which you are granting access. S3 Access Grants assigned this ID when you registered 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 to which you are granting access. S3 Access Grants assigned this ID
when you registered the location. S3 Access Grants assigns the ID
defaultto the default locations3://and assigns an auto-generated ID to other locations that you register.
-
accessGrantsLocationArn
public final String accessGrantsLocationArn()
The Amazon Resource Name (ARN) of the registered location that you are updating.
- Returns:
- The Amazon Resource Name (ARN) of the registered location that you are updating.
-
locationScope
public final String locationScope()
The S3 URI path of the location that you are updating. You cannot update the scope of the registered location. 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>.- Returns:
- The S3 URI path of the location that you are updating. You cannot update the scope of the registered
location. 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>.
-
iamRoleArn
public final String iamRoleArn()
The Amazon Resource Name (ARN) of the IAM role of the registered location. S3 Access Grants assumes this role to manage access to the registered location.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role of the registered location. S3 Access Grants assumes this role to manage access to the registered location.
-
toBuilder
public UpdateAccessGrantsLocationResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAccessGrantsLocationResponse.Builder,UpdateAccessGrantsLocationResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static UpdateAccessGrantsLocationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAccessGrantsLocationResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-