@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccessGrantEntry extends Object implements Serializable, Cloneable
Information about the access grant.
Constructor and Description |
---|
ListAccessGrantEntry() |
Modifier and Type | Method and Description |
---|---|
ListAccessGrantEntry |
clone() |
boolean |
equals(Object obj) |
String |
getAccessGrantArn()
The Amazon Resource Name (ARN) of the access grant.
|
String |
getAccessGrantId()
The ID of the access grant.
|
AccessGrantsLocationConfiguration |
getAccessGrantsLocationConfiguration()
The configuration options of the grant location.
|
String |
getAccessGrantsLocationId()
The ID of the registered location to which you are granting access.
|
String |
getApplicationArn()
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your
Identity Center instance.
|
Date |
getCreatedAt()
The date and time when you created the S3 Access Grants instance.
|
Grantee |
getGrantee()
The user, group, or role to which you are granting access.
|
String |
getGrantScope()
The S3 path of the data to which you are granting access.
|
String |
getPermission()
The type of access granted to your S3 data, which can be set to one of the following values:
|
int |
hashCode() |
void |
setAccessGrantArn(String accessGrantArn)
The Amazon Resource Name (ARN) of the access grant.
|
void |
setAccessGrantId(String accessGrantId)
The ID of the access grant.
|
void |
setAccessGrantsLocationConfiguration(AccessGrantsLocationConfiguration accessGrantsLocationConfiguration)
The configuration options of the grant location.
|
void |
setAccessGrantsLocationId(String accessGrantsLocationId)
The ID of the registered location to which you are granting access.
|
void |
setApplicationArn(String applicationArn)
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your
Identity Center instance.
|
void |
setCreatedAt(Date createdAt)
The date and time when you created the S3 Access Grants instance.
|
void |
setGrantee(Grantee grantee)
The user, group, or role to which you are granting access.
|
void |
setGrantScope(String grantScope)
The S3 path of the data to which you are granting access.
|
void |
setPermission(String permission)
The type of access granted to your S3 data, which can be set to one of the following values:
|
String |
toString()
Returns a string representation of this object.
|
ListAccessGrantEntry |
withAccessGrantArn(String accessGrantArn)
The Amazon Resource Name (ARN) of the access grant.
|
ListAccessGrantEntry |
withAccessGrantId(String accessGrantId)
The ID of the access grant.
|
ListAccessGrantEntry |
withAccessGrantsLocationConfiguration(AccessGrantsLocationConfiguration accessGrantsLocationConfiguration)
The configuration options of the grant location.
|
ListAccessGrantEntry |
withAccessGrantsLocationId(String accessGrantsLocationId)
The ID of the registered location to which you are granting access.
|
ListAccessGrantEntry |
withApplicationArn(String applicationArn)
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your
Identity Center instance.
|
ListAccessGrantEntry |
withCreatedAt(Date createdAt)
The date and time when you created the S3 Access Grants instance.
|
ListAccessGrantEntry |
withGrantee(Grantee grantee)
The user, group, or role to which you are granting access.
|
ListAccessGrantEntry |
withGrantScope(String grantScope)
The S3 path of the data to which you are granting access.
|
ListAccessGrantEntry |
withPermission(Permission permission)
The type of access granted to your S3 data, which can be set to one of the following values:
|
ListAccessGrantEntry |
withPermission(String permission)
The type of access granted to your S3 data, which can be set to one of the following values:
|
public void setCreatedAt(Date createdAt)
The date and time when you created the S3 Access Grants instance.
createdAt
- The date and time when you created the S3 Access Grants instance.public Date getCreatedAt()
The date and time when you created the S3 Access Grants instance.
public ListAccessGrantEntry withCreatedAt(Date createdAt)
The date and time when you created the S3 Access Grants instance.
createdAt
- The date and time when you created the S3 Access Grants instance.public void setAccessGrantId(String accessGrantId)
The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
accessGrantId
- The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.public String getAccessGrantId()
The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
public ListAccessGrantEntry withAccessGrantId(String accessGrantId)
The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
accessGrantId
- The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.public void setAccessGrantArn(String accessGrantArn)
The Amazon Resource Name (ARN) of the access grant.
accessGrantArn
- The Amazon Resource Name (ARN) of the access grant.public String getAccessGrantArn()
The Amazon Resource Name (ARN) of the access grant.
public ListAccessGrantEntry withAccessGrantArn(String accessGrantArn)
The Amazon Resource Name (ARN) of the access grant.
accessGrantArn
- The Amazon Resource Name (ARN) of the access grant.public void setGrantee(Grantee grantee)
The user, group, or role to which you are granting access. You can grant access to an IAM user or role. If you have added your corporate directory to Amazon Web Services IAM Identity Center and associated your Identity Center instance with your S3 Access Grants instance, the grantee can also be a corporate directory user or group.
grantee
- The user, group, or role to which you are granting access. You can grant access to an IAM user or role. If
you have added your corporate directory to Amazon Web Services IAM Identity Center and associated your
Identity Center instance with your S3 Access Grants instance, the grantee can also be a corporate
directory user or group.public Grantee getGrantee()
The user, group, or role to which you are granting access. You can grant access to an IAM user or role. If you have added your corporate directory to Amazon Web Services IAM Identity Center and associated your Identity Center instance with your S3 Access Grants instance, the grantee can also be a corporate directory user or group.
public ListAccessGrantEntry withGrantee(Grantee grantee)
The user, group, or role to which you are granting access. You can grant access to an IAM user or role. If you have added your corporate directory to Amazon Web Services IAM Identity Center and associated your Identity Center instance with your S3 Access Grants instance, the grantee can also be a corporate directory user or group.
grantee
- The user, group, or role to which you are granting access. You can grant access to an IAM user or role. If
you have added your corporate directory to Amazon Web Services IAM Identity Center and associated your
Identity Center instance with your S3 Access Grants instance, the grantee can also be a corporate
directory user or group.public void setPermission(String permission)
The type of access granted to your S3 data, which can be set to one of the following values:
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
permission
- The type of access granted to your S3 data, which can be set to one of the following values:
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
Permission
public String getPermission()
The type of access granted to your S3 data, which can be set to one of the following values:
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
Permission
public ListAccessGrantEntry withPermission(String permission)
The type of access granted to your S3 data, which can be set to one of the following values:
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
permission
- The type of access granted to your S3 data, which can be set to one of the following values:
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
Permission
public ListAccessGrantEntry withPermission(Permission permission)
The type of access granted to your S3 data, which can be set to one of the following values:
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
permission
- The type of access granted to your S3 data, which can be set to one of the following values:
READ
– Grant read-only access to the S3 data.
WRITE
– Grant write-only access to the S3 data.
READWRITE
– Grant both read and write access to the S3 data.
Permission
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 ListAccessGrantEntry 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 setAccessGrantsLocationConfiguration(AccessGrantsLocationConfiguration accessGrantsLocationConfiguration)
The configuration options of the grant location. The grant location is the S3 path to the data to which you are granting access.
accessGrantsLocationConfiguration
- The configuration options of the grant location. The grant location is the S3 path to the data to which
you are granting access.public AccessGrantsLocationConfiguration getAccessGrantsLocationConfiguration()
The configuration options of the grant location. The grant location is the S3 path to the data to which you are granting access.
public ListAccessGrantEntry withAccessGrantsLocationConfiguration(AccessGrantsLocationConfiguration accessGrantsLocationConfiguration)
The configuration options of the grant location. The grant location is the S3 path to the data to which you are granting access.
accessGrantsLocationConfiguration
- The configuration options of the grant location. The grant location is the S3 path to the data to which
you are granting access.public void setGrantScope(String grantScope)
The S3 path of the data to which you are granting access. It is the result of appending the
Subprefix
to the location scope.
grantScope
- The S3 path of the data to which you are granting access. It is the result of appending the
Subprefix
to the location scope.public String getGrantScope()
The S3 path of the data to which you are granting access. It is the result of appending the
Subprefix
to the location scope.
Subprefix
to the location scope.public ListAccessGrantEntry withGrantScope(String grantScope)
The S3 path of the data to which you are granting access. It is the result of appending the
Subprefix
to the location scope.
grantScope
- The S3 path of the data to which you are granting access. It is the result of appending the
Subprefix
to the location scope.public void setApplicationArn(String applicationArn)
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance. If the grant includes an application ARN, the grantee can only access the S3 data through this application.
applicationArn
- The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with
your Identity Center instance. If the grant includes an application ARN, the grantee can only access the
S3 data through this application.public String getApplicationArn()
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance. If the grant includes an application ARN, the grantee can only access the S3 data through this application.
public ListAccessGrantEntry withApplicationArn(String applicationArn)
The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance. If the grant includes an application ARN, the grantee can only access the S3 data through this application.
applicationArn
- The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with
your Identity Center instance. If the grant includes an application ARN, the grantee can only access the
S3 data through this application.public String toString()
toString
in class Object
Object.toString()
public ListAccessGrantEntry clone()