@Generated(value="software.amazon.awssdk:codegen") public final class PutMailboxPermissionsRequest extends WorkMailRequest implements ToCopyableBuilder<PutMailboxPermissionsRequest.Builder,PutMailboxPermissionsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutMailboxPermissionsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutMailboxPermissionsRequest.Builder |
builder() |
String |
entityId()
The identifier of the user, group, or resource for which to update mailbox permissions.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
granteeId()
The identifier of the user, group, or resource to which to grant the permissions.
|
int |
hashCode() |
String |
organizationId()
The identifier of the organization under which the user, group, or resource exists.
|
List<PermissionType> |
permissionValues()
The permissions granted to the grantee.
|
List<String> |
permissionValuesAsStrings()
The permissions granted to the grantee.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutMailboxPermissionsRequest.Builder> |
serializableBuilderClass() |
PutMailboxPermissionsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String organizationId()
The identifier of the organization under which the user, group, or resource exists.
public String entityId()
The identifier of the user, group, or resource for which to update mailbox permissions.
public String granteeId()
The identifier of the user, group, or resource to which to grant the permissions.
public List<PermissionType> 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> permissionValuesAsStrings()
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public PutMailboxPermissionsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutMailboxPermissionsRequest.Builder,PutMailboxPermissionsRequest>toBuilder in class WorkMailRequestpublic static PutMailboxPermissionsRequest.Builder builder()
public static Class<? extends PutMailboxPermissionsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.