@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() |
boolean |
hasPermissionValues()
Returns true if the PermissionValues property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
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 final String organizationId()
The identifier of the organization under which the user, group, or resource exists.
public final String entityId()
The identifier of the user, group, or resource for which to update mailbox permissions.
public final String granteeId()
The identifier of the user, group, or resource to which to grant the permissions.
public final 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.
You can use hasPermissionValues() to see if a value was sent in this field.
public final boolean hasPermissionValues()
public final 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.
You can use hasPermissionValues() to see if a value was sent in this field.
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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.