Class PutMobileDeviceAccessOverrideRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.workmail.model.WorkMailRequest
-
- software.amazon.awssdk.services.workmail.model.PutMobileDeviceAccessOverrideRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutMobileDeviceAccessOverrideRequest.Builder,PutMobileDeviceAccessOverrideRequest>
@Generated("software.amazon.awssdk:codegen") public final class PutMobileDeviceAccessOverrideRequest extends WorkMailRequest implements ToCopyableBuilder<PutMobileDeviceAccessOverrideRequest.Builder,PutMobileDeviceAccessOverrideRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutMobileDeviceAccessOverrideRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutMobileDeviceAccessOverrideRequest.Builderbuilder()Stringdescription()A description of the override.StringdeviceId()The mobile device for which you create the override.MobileDeviceAccessRuleEffecteffect()The effect of the override,ALLOWorDENY.StringeffectAsString()The effect of the override,ALLOWorDENY.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringorganizationId()Identifies the WorkMail organization for which you create the override.List<SdkField<?>>sdkFields()static Class<? extends PutMobileDeviceAccessOverrideRequest.Builder>serializableBuilderClass()PutMobileDeviceAccessOverrideRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserId()The WorkMail user for which you create the override.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
organizationId
public final String organizationId()
Identifies the WorkMail organization for which you create the override.
- Returns:
- Identifies the WorkMail organization for which you create the override.
-
userId
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-123456789012orS-1-1-12-1234567890-123456789-123456789-1234 -
Email address:
user@domain.tld -
User name:
user
- Returns:
- The WorkMail user for which you create the override. Accepts the following types of user identities:
-
User ID:
12345678-1234-1234-1234-123456789012orS-1-1-12-1234567890-123456789-123456789-1234 -
Email address:
user@domain.tld -
User name:
user
-
-
-
deviceId
public final String deviceId()
The mobile device for which you create the override.
DeviceIdis case insensitive.- Returns:
- The mobile device for which you create the override.
DeviceIdis case insensitive.
-
effect
public final MobileDeviceAccessRuleEffect effect()
The effect of the override,
ALLOWorDENY.If the service returns an enum value that is not available in the current SDK version,
effectwill returnMobileDeviceAccessRuleEffect.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeffectAsString().- Returns:
- The effect of the override,
ALLOWorDENY. - See Also:
MobileDeviceAccessRuleEffect
-
effectAsString
public final String effectAsString()
The effect of the override,
ALLOWorDENY.If the service returns an enum value that is not available in the current SDK version,
effectwill returnMobileDeviceAccessRuleEffect.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeffectAsString().- Returns:
- The effect of the override,
ALLOWorDENY. - See Also:
MobileDeviceAccessRuleEffect
-
description
public final String description()
A description of the override.
- Returns:
- A description of the override.
-
toBuilder
public PutMobileDeviceAccessOverrideRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutMobileDeviceAccessOverrideRequest.Builder,PutMobileDeviceAccessOverrideRequest>- Specified by:
toBuilderin classWorkMailRequest
-
builder
public static PutMobileDeviceAccessOverrideRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutMobileDeviceAccessOverrideRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-