Interface Permission.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Permission.Builder,
,Permission> SdkBuilder<Permission.Builder,
,Permission> SdkPojo
- Enclosing class:
Permission
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the user, group, or resource to which the permissions are granted.granteeType
(String granteeType) The type of user, group, or resource referred to in GranteeId.granteeType
(MemberType granteeType) The type of user, group, or resource referred to in GranteeId.permissionValues
(Collection<PermissionType> permissionValues) The permissions granted to the grantee.permissionValues
(PermissionType... permissionValues) The permissions granted to the grantee.permissionValuesWithStrings
(String... permissionValues) The permissions granted to the grantee.permissionValuesWithStrings
(Collection<String> permissionValues) The permissions granted to the grantee.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
-
granteeId
The identifier of the user, group, or resource to which the permissions are granted.
- Parameters:
granteeId
- The identifier of the user, group, or resource to which the permissions are granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
granteeType
The type of user, group, or resource referred to in GranteeId.
- Parameters:
granteeType
- The type of user, group, or resource referred to in GranteeId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
granteeType
The type of user, group, or resource referred to in GranteeId.
- Parameters:
granteeType
- The type of user, group, or resource referred to in GranteeId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permissionValuesWithStrings
The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.
- Parameters:
permissionValues
- The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionValuesWithStrings
The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.
- Parameters:
permissionValues
- The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionValues
The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.
- Parameters:
permissionValues
- The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionValues
The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.
- Parameters:
permissionValues
- The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-