Interface Grantee.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Grantee.Builder,
,Grantee> SdkBuilder<Grantee.Builder,
,Grantee> SdkPojo
- Enclosing class:
Grantee
-
Method Summary
Modifier and TypeMethodDescriptiongranteeIdentifier
(String granteeIdentifier) The unique identifier of theGrantee
.granteeType
(String granteeType) The type of the grantee to which access has been granted.granteeType
(GranteeType granteeType) The type of the grantee to which access has been granted.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, sdkFieldNameToField, sdkFields
-
Method Details
-
granteeType
The type of the grantee to which access has been granted. It can be one of the following values:
-
IAM
- An IAM user or role. -
DIRECTORY_USER
- Your corporate directory user. You can use this option if you have added your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3 Access Grants instance. -
DIRECTORY_GROUP
- Your corporate directory group. You can use this option if you have added your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3 Access Grants instance.
- Parameters:
granteeType
- The type of the grantee to which access has been granted. It can be one of the following values:-
IAM
- An IAM user or role. -
DIRECTORY_USER
- Your corporate directory user. You can use this option if you have added your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3 Access Grants instance. -
DIRECTORY_GROUP
- Your corporate directory group. You can use this option if you have added your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3 Access Grants instance.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
granteeType
The type of the grantee to which access has been granted. It can be one of the following values:
-
IAM
- An IAM user or role. -
DIRECTORY_USER
- Your corporate directory user. You can use this option if you have added your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3 Access Grants instance. -
DIRECTORY_GROUP
- Your corporate directory group. You can use this option if you have added your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3 Access Grants instance.
- Parameters:
granteeType
- The type of the grantee to which access has been granted. It can be one of the following values:-
IAM
- An IAM user or role. -
DIRECTORY_USER
- Your corporate directory user. You can use this option if you have added your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3 Access Grants instance. -
DIRECTORY_GROUP
- Your corporate directory group. You can use this option if you have added your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3 Access Grants instance.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
granteeIdentifier
The unique identifier of the
Grantee
. If the grantee type isIAM
, the identifier is the IAM Amazon Resource Name (ARN) of the user or role. If the grantee type is a directory user or group, the identifier is 128-bit universally unique identifier (UUID) in the formata1b2c3d4-5678-90ab-cdef-EXAMPLE11111
. You can obtain this UUID from your Amazon Web Services IAM Identity Center instance.- Parameters:
granteeIdentifier
- The unique identifier of theGrantee
. If the grantee type isIAM
, the identifier is the IAM Amazon Resource Name (ARN) of the user or role. If the grantee type is a directory user or group, the identifier is 128-bit universally unique identifier (UUID) in the formata1b2c3d4-5678-90ab-cdef-EXAMPLE11111
. You can obtain this UUID from your Amazon Web Services IAM Identity Center instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-