@Generated(value="software.amazon.awssdk:codegen") public final class PutMobileDeviceAccessOverrideRequest extends WorkMailRequest implements ToCopyableBuilder<PutMobileDeviceAccessOverrideRequest.Builder,PutMobileDeviceAccessOverrideRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutMobileDeviceAccessOverrideRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutMobileDeviceAccessOverrideRequest.Builder |
builder() |
String |
description()
A description of the override.
|
String |
deviceId()
The mobile device for which you create the override.
|
MobileDeviceAccessRuleEffect |
effect()
The effect of the override,
ALLOW or DENY. |
String |
effectAsString()
The effect of the override,
ALLOW or DENY. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
organizationId()
Identifies the WorkMail organization for which you create the override.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutMobileDeviceAccessOverrideRequest.Builder> |
serializableBuilderClass() |
PutMobileDeviceAccessOverrideRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userId()
The WorkMail user for which you create the override.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String organizationId()
Identifies the WorkMail organization for which you create the override.
public final String userId()
The WorkMail user for which you create the override. Accepts the following types of user identities:
User ID: 12345678-1234-1234-1234-123456789012 or
S-1-1-12-1234567890-123456789-123456789-1234
Email address: user@domain.tld
User name: user
User ID: 12345678-1234-1234-1234-123456789012 or
S-1-1-12-1234567890-123456789-123456789-1234
Email address: user@domain.tld
User name: user
public final String deviceId()
The mobile device for which you create the override. DeviceId is case insensitive.
DeviceId is case insensitive.public final MobileDeviceAccessRuleEffect effect()
The effect of the override, ALLOW or DENY.
If the service returns an enum value that is not available in the current SDK version, effect will
return MobileDeviceAccessRuleEffect.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from effectAsString().
ALLOW or DENY.MobileDeviceAccessRuleEffectpublic final String effectAsString()
The effect of the override, ALLOW or DENY.
If the service returns an enum value that is not available in the current SDK version, effect will
return MobileDeviceAccessRuleEffect.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from effectAsString().
ALLOW or DENY.MobileDeviceAccessRuleEffectpublic final String description()
A description of the override.
public PutMobileDeviceAccessOverrideRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutMobileDeviceAccessOverrideRequest.Builder,PutMobileDeviceAccessOverrideRequest>toBuilder in class WorkMailRequestpublic static PutMobileDeviceAccessOverrideRequest.Builder builder()
public static Class<? extends PutMobileDeviceAccessOverrideRequest.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 © 2023. All rights reserved.