Interface ListAccessGrantEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ListAccessGrantEntry.Builder,ListAccessGrantEntry>,SdkBuilder<ListAccessGrantEntry.Builder,ListAccessGrantEntry>,SdkPojo
- Enclosing class:
- ListAccessGrantEntry
public static interface ListAccessGrantEntry.Builder extends SdkPojo, CopyableBuilder<ListAccessGrantEntry.Builder,ListAccessGrantEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListAccessGrantEntry.BuilderaccessGrantArn(String accessGrantArn)The Amazon Resource Name (ARN) of the access grant.ListAccessGrantEntry.BuilderaccessGrantId(String accessGrantId)The ID of the access grant.default ListAccessGrantEntry.BuilderaccessGrantsLocationConfiguration(Consumer<AccessGrantsLocationConfiguration.Builder> accessGrantsLocationConfiguration)The configuration options of the grant location.ListAccessGrantEntry.BuilderaccessGrantsLocationConfiguration(AccessGrantsLocationConfiguration accessGrantsLocationConfiguration)The configuration options of the grant location.ListAccessGrantEntry.BuilderaccessGrantsLocationId(String accessGrantsLocationId)The ID of the registered location to which you are granting access.ListAccessGrantEntry.BuilderapplicationArn(String applicationArn)The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance.ListAccessGrantEntry.BuildercreatedAt(Instant createdAt)The date and time when you created the S3 Access Grants instance.default ListAccessGrantEntry.Buildergrantee(Consumer<Grantee.Builder> grantee)The user, group, or role to which you are granting access.ListAccessGrantEntry.Buildergrantee(Grantee grantee)The user, group, or role to which you are granting access.ListAccessGrantEntry.BuildergrantScope(String grantScope)The S3 path of the data to which you are granting access.ListAccessGrantEntry.Builderpermission(String permission)The type of access granted to your S3 data, which can be set to one of the following values:ListAccessGrantEntry.Builderpermission(Permission permission)The type of access granted to your S3 data, which can be set to one of the following values:-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
createdAt
ListAccessGrantEntry.Builder createdAt(Instant createdAt)
The date and time when you created the S3 Access Grants instance.
- Parameters:
createdAt- The date and time when you created the S3 Access Grants instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessGrantId
ListAccessGrantEntry.Builder accessGrantId(String accessGrantId)
The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.
- Parameters:
accessGrantId- The ID of the access grant. S3 Access Grants auto-generates this ID when you create the access grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessGrantArn
ListAccessGrantEntry.Builder accessGrantArn(String accessGrantArn)
The Amazon Resource Name (ARN) of the access grant.
- Parameters:
accessGrantArn- The Amazon Resource Name (ARN) of the access grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantee
ListAccessGrantEntry.Builder grantee(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantee
default ListAccessGrantEntry.Builder grantee(Consumer<Grantee.Builder> 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.
This is a convenience method that creates an instance of theGrantee.Builderavoiding the need to create one manually viaGrantee.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tograntee(Grantee).- Parameters:
grantee- a consumer that will call methods onGrantee.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
grantee(Grantee)
-
permission
ListAccessGrantEntry.Builder permission(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Permission,Permission
-
-
permission
ListAccessGrantEntry.Builder permission(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Permission,Permission
-
-
accessGrantsLocationId
ListAccessGrantEntry.Builder accessGrantsLocationId(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.- Parameters:
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 IDdefaultto the default locations3://and assigns an auto-generated ID to other locations that you register.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessGrantsLocationConfiguration
ListAccessGrantEntry.Builder accessGrantsLocationConfiguration(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.
- Parameters:
accessGrantsLocationConfiguration- The configuration options of the grant location. The grant location is the S3 path to the data to which you are granting access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessGrantsLocationConfiguration
default ListAccessGrantEntry.Builder accessGrantsLocationConfiguration(Consumer<AccessGrantsLocationConfiguration.Builder> accessGrantsLocationConfiguration)
The configuration options of the grant location. The grant location is the S3 path to the data to which you are granting access.
This is a convenience method that creates an instance of theAccessGrantsLocationConfiguration.Builderavoiding the need to create one manually viaAccessGrantsLocationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessGrantsLocationConfiguration(AccessGrantsLocationConfiguration).- Parameters:
accessGrantsLocationConfiguration- a consumer that will call methods onAccessGrantsLocationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
accessGrantsLocationConfiguration(AccessGrantsLocationConfiguration)
-
grantScope
ListAccessGrantEntry.Builder grantScope(String grantScope)
The S3 path of the data to which you are granting access. It is the result of appending the
Subprefixto the location scope.- Parameters:
grantScope- The S3 path of the data to which you are granting access. It is the result of appending theSubprefixto the location scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationArn
ListAccessGrantEntry.Builder applicationArn(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-