Class CreateAccessGrantsLocationResponse
- 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.CreateAccessGrantsLocationResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateAccessGrantsLocationResponse.Builder,CreateAccessGrantsLocationResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateAccessGrantsLocationResponse extends S3ControlResponse implements ToCopyableBuilder<CreateAccessGrantsLocationResponse.Builder,CreateAccessGrantsLocationResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateAccessGrantsLocationResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccessGrantsLocationArn()The Amazon Resource Name (ARN) of the location you are registering.StringaccessGrantsLocationId()The ID of the registered location to which you are granting access.static CreateAccessGrantsLocationResponse.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 location that you are registering.List<SdkField<?>>sdkFields()static Class<? extends CreateAccessGrantsLocationResponse.Builder>serializableBuilderClass()CreateAccessGrantsLocationResponse.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 location you are registering.
- Returns:
- The Amazon Resource Name (ARN) of the location you are registering.
-
locationScope
public final String locationScope()
The S3 URI path to the location that you are registering. 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 location that you are registering. 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 CreateAccessGrantsLocationResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateAccessGrantsLocationResponse.Builder,CreateAccessGrantsLocationResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateAccessGrantsLocationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateAccessGrantsLocationResponse.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
-
-