@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccessGrantsLocationsEntry extends Object implements Serializable, Cloneable
A container for information about the registered location.
Constructor and Description |
---|
ListAccessGrantsLocationsEntry() |
Modifier and Type | Method and Description |
---|---|
ListAccessGrantsLocationsEntry |
clone() |
boolean |
equals(Object obj) |
String |
getAccessGrantsLocationArn()
The Amazon Resource Name (ARN) of the registered location.
|
String |
getAccessGrantsLocationId()
The ID of the registered location to which you are granting access.
|
Date |
getCreatedAt()
The date and time when you registered the location.
|
String |
getIAMRoleArn()
The Amazon Resource Name (ARN) of the IAM role for the registered location.
|
String |
getLocationScope()
The S3 path to the location that you are registering.
|
int |
hashCode() |
void |
setAccessGrantsLocationArn(String accessGrantsLocationArn)
The Amazon Resource Name (ARN) of the registered location.
|
void |
setAccessGrantsLocationId(String accessGrantsLocationId)
The ID of the registered location to which you are granting access.
|
void |
setCreatedAt(Date createdAt)
The date and time when you registered the location.
|
void |
setIAMRoleArn(String iAMRoleArn)
The Amazon Resource Name (ARN) of the IAM role for the registered location.
|
void |
setLocationScope(String locationScope)
The S3 path to the location that you are registering.
|
String |
toString()
Returns a string representation of this object.
|
ListAccessGrantsLocationsEntry |
withAccessGrantsLocationArn(String accessGrantsLocationArn)
The Amazon Resource Name (ARN) of the registered location.
|
ListAccessGrantsLocationsEntry |
withAccessGrantsLocationId(String accessGrantsLocationId)
The ID of the registered location to which you are granting access.
|
ListAccessGrantsLocationsEntry |
withCreatedAt(Date createdAt)
The date and time when you registered the location.
|
ListAccessGrantsLocationsEntry |
withIAMRoleArn(String iAMRoleArn)
The Amazon Resource Name (ARN) of the IAM role for the registered location.
|
ListAccessGrantsLocationsEntry |
withLocationScope(String locationScope)
The S3 path to the location that you are registering.
|
public void setCreatedAt(Date createdAt)
The date and time when you registered the location.
createdAt
- The date and time when you registered the location.public Date getCreatedAt()
The date and time when you registered the location.
public ListAccessGrantsLocationsEntry withCreatedAt(Date createdAt)
The date and time when you registered the location.
createdAt
- The date and time when you registered the location.public void setAccessGrantsLocationId(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 default
to the default location
s3://
and assigns an auto-generated ID to other locations that you register.
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 default
to the default location
s3://
and assigns an auto-generated ID to other locations that you register.public String getAccessGrantsLocationId()
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 default
to the default location
s3://
and assigns an auto-generated ID to other locations that you register.
default
to the default location
s3://
and assigns an auto-generated ID to other locations that you register.public ListAccessGrantsLocationsEntry withAccessGrantsLocationId(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 default
to the default location
s3://
and assigns an auto-generated ID to other locations that you register.
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 default
to the default location
s3://
and assigns an auto-generated ID to other locations that you register.public void setAccessGrantsLocationArn(String accessGrantsLocationArn)
The Amazon Resource Name (ARN) of the registered location.
accessGrantsLocationArn
- The Amazon Resource Name (ARN) of the registered location.public String getAccessGrantsLocationArn()
The Amazon Resource Name (ARN) of the registered location.
public ListAccessGrantsLocationsEntry withAccessGrantsLocationArn(String accessGrantsLocationArn)
The Amazon Resource Name (ARN) of the registered location.
accessGrantsLocationArn
- The Amazon Resource Name (ARN) of the registered location.public void setLocationScope(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 bucket s3://<bucket>
, or the S3 path to a bucket and
prefix s3://<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 the engineering/
prefix or object key names that start with the
marketing/campaigns/
prefix.
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 bucket s3://<bucket>
, or the S3 path to a bucket
and prefix s3://<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 the engineering/
prefix or object key names that
start with the marketing/campaigns/
prefix.public String getLocationScope()
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 bucket s3://<bucket>
, or the S3 path to a bucket and
prefix s3://<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 the engineering/
prefix or object key names that start with the
marketing/campaigns/
prefix.
s3://
, the S3 path to a bucket s3://<bucket>
, or the S3 path to a bucket
and prefix s3://<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 the engineering/
prefix or object key names that
start with the marketing/campaigns/
prefix.public ListAccessGrantsLocationsEntry withLocationScope(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 bucket s3://<bucket>
, or the S3 path to a bucket and
prefix s3://<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 the engineering/
prefix or object key names that start with the
marketing/campaigns/
prefix.
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 bucket s3://<bucket>
, or the S3 path to a bucket
and prefix s3://<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 the engineering/
prefix or object key names that
start with the marketing/campaigns/
prefix.public void setIAMRoleArn(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.
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.public String getIAMRoleArn()
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.
public ListAccessGrantsLocationsEntry withIAMRoleArn(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.
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.public String toString()
toString
in class Object
Object.toString()
public ListAccessGrantsLocationsEntry clone()