Interface Permission.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Permission.Builder,
,Permission> SdkBuilder<Permission.Builder,
,Permission> SdkPojo
- Enclosing class:
Permission
-
Method Summary
Modifier and TypeMethodDescriptionThe permission that you want to give to the AWS user that is listed in Grantee.access
(Collection<String> access) The permission that you want to give to the AWS user that is listed in Grantee.The AWS user or group that you want to have access to transcoded files and playlists.granteeType
(String granteeType) The type of value that appears in the Grantee object: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 Details
-
granteeType
The type of value that appears in the Grantee object:
-
Canonical
: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.A canonical user ID is not the same as an AWS account number.
-
Email
: The registered email address of an AWS account. -
Group
: One of the following predefined Amazon S3 groups:AllUsers
,AuthenticatedUsers
, orLogDelivery
.
- Parameters:
granteeType
- The type of value that appears in the Grantee object:-
Canonical
: Either the canonical user ID for an AWS account or an origin access identity for an Amazon CloudFront distribution.A canonical user ID is not the same as an AWS account number.
-
Email
: The registered email address of an AWS account. -
Group
: One of the following predefined Amazon S3 groups:AllUsers
,AuthenticatedUsers
, orLogDelivery
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
grantee
The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.
- Parameters:
grantee
- The AWS user or group that you want to have access to transcoded files and playlists. To identify the user or group, you can specify the canonical user ID for an AWS account, an origin access identity for a CloudFront distribution, the registered email address of an AWS account, or a predefined Amazon S3 group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
access
The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:
-
READ
: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. -
READ_ACP
: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. -
WRITE_ACP
: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. -
FULL_CONTROL
: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
- Parameters:
access
- The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:-
READ
: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. -
READ_ACP
: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. -
WRITE_ACP
: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. -
FULL_CONTROL
: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
access
The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:
-
READ
: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. -
READ_ACP
: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. -
WRITE_ACP
: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. -
FULL_CONTROL
: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
- Parameters:
access
- The permission that you want to give to the AWS user that is listed in Grantee. Valid values include:-
READ
: The grantee can read the thumbnails and metadata for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. -
READ_ACP
: The grantee can read the object ACL for thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. -
WRITE_ACP
: The grantee can write the ACL for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket. -
FULL_CONTROL
: The grantee has READ, READ_ACP, and WRITE_ACP permissions for the thumbnails that Elastic Transcoder adds to the Amazon S3 bucket.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-