Class GetAccessGrantsLocationResponse
- 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.GetAccessGrantsLocationResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetAccessGrantsLocationResponse.Builder,GetAccessGrantsLocationResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetAccessGrantsLocationResponse extends S3ControlResponse implements ToCopyableBuilder<GetAccessGrantsLocationResponse.Builder,GetAccessGrantsLocationResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetAccessGrantsLocationResponse.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.StringaccessGrantsLocationId()The ID of the registered location to which you are granting access.static GetAccessGrantsLocationResponse.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 for the registered location.StringlocationScope()The S3 URI path to the registered location.List<SdkField<?>>sdkFields()static Class<? extends GetAccessGrantsLocationResponse.Builder>serializableBuilderClass()GetAccessGrantsLocationResponse.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 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 to which you are granting access. 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.
-
accessGrantsLocationArn
public final String accessGrantsLocationArn()
The Amazon Resource Name (ARN) of the registered location.
- Returns:
- The Amazon Resource Name (ARN) of the registered location.
-
locationScope
public final String locationScope()
The S3 URI path to the registered location. The location scope can be the default S3 location
s3://, the S3 path to a bucket, or the S3 path to a bucket and 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 URI path to the registered location. The location scope can be the default S3 location
s3://, the S3 path to a bucket, or the S3 path to a bucket and 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.
-
iamRoleArn
public final String iamRoleArn()
The Amazon Resource Name (ARN) of the IAM role for 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 for the registered location. S3 Access Grants assumes this role to manage access to the registered location.
-
toBuilder
public GetAccessGrantsLocationResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetAccessGrantsLocationResponse.Builder,GetAccessGrantsLocationResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetAccessGrantsLocationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetAccessGrantsLocationResponse.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
-
-