Class ListAccessGrantsLocationsEntry
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.model.ListAccessGrantsLocationsEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ListAccessGrantsLocationsEntry.Builder,ListAccessGrantsLocationsEntry>
@Generated("software.amazon.awssdk:codegen") public final class ListAccessGrantsLocationsEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListAccessGrantsLocationsEntry.Builder,ListAccessGrantsLocationsEntry>
A container for information about the registered location.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListAccessGrantsLocationsEntry.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 ListAccessGrantsLocationsEntry.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 path to the location that you are registering.List<SdkField<?>>sdkFields()static Class<? extends ListAccessGrantsLocationsEntry.Builder>serializableBuilderClass()ListAccessGrantsLocationsEntry.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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 path to the location that you are registering. 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>. 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 path to the location that you are registering. 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>. 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 ListAccessGrantsLocationsEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListAccessGrantsLocationsEntry.Builder,ListAccessGrantsLocationsEntry>
-
builder
public static ListAccessGrantsLocationsEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListAccessGrantsLocationsEntry.Builder> serializableBuilderClass()
-
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.
-
-