Interface Grantee.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Grantee.Builder,Grantee>,SdkBuilder<Grantee.Builder,Grantee>,SdkPojo
- Enclosing class:
- Grantee
public static interface Grantee.Builder extends SdkPojo, CopyableBuilder<Grantee.Builder,Grantee>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Grantee.BuildergranteeIdentifier(String granteeIdentifier)The unique identifier of theGrantee.Grantee.BuildergranteeType(String granteeType)The type of the grantee to which access has been granted.Grantee.BuildergranteeType(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, sdkFields
-
-
-
-
Method Detail
-
granteeType
Grantee.Builder granteeType(String 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,GranteeType
-
-
granteeType
Grantee.Builder granteeType(GranteeType 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,GranteeType
-
-
granteeIdentifier
Grantee.Builder granteeIdentifier(String 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.
-
-