@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 entity (user or group) for which to update mailbox permissions.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
String |
granteeId()
The identifier of the entity (user or group) to which to grant the permissions.
|
int |
hashCode() |
String |
organizationId()
The identifier of the organization under which the entity (user or group) 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String organizationId()
The identifier of the organization under which the entity (user or group) exists.
public String entityId()
The identifier of the entity (user or group) for which to update mailbox permissions.
public String granteeId()
The identifier of the entity (user or group) 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PutMailboxPermissionsRequest.Builder,PutMailboxPermissionsRequest>
toBuilder
in class WorkMailRequest
public static PutMailboxPermissionsRequest.Builder builder()
public static Class<? extends PutMailboxPermissionsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.