@Generated(value="software.amazon.awssdk:codegen") public final class UpdateMobileDeviceAccessRuleRequest extends WorkMailRequest implements ToCopyableBuilder<UpdateMobileDeviceAccessRuleRequest.Builder,UpdateMobileDeviceAccessRuleRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateMobileDeviceAccessRuleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateMobileDeviceAccessRuleRequest.Builder |
builder() |
String |
description()
The updated rule description.
|
List<String> |
deviceModels()
Device models that the updated rule will match.
|
List<String> |
deviceOperatingSystems()
Device operating systems that the updated rule will match.
|
List<String> |
deviceTypes()
Device types that the updated rule will match.
|
List<String> |
deviceUserAgents()
User agents that the updated rule will match.
|
MobileDeviceAccessRuleEffect |
effect()
The effect of the rule when it matches.
|
String |
effectAsString()
The effect of the rule when it matches.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDeviceModels()
Returns true if the DeviceModels property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasDeviceOperatingSystems()
Returns true if the DeviceOperatingSystems property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasDeviceTypes()
Returns true if the DeviceTypes property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasDeviceUserAgents()
Returns true if the DeviceUserAgents property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasNotDeviceModels()
Returns true if the NotDeviceModels property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasNotDeviceOperatingSystems()
Returns true if the NotDeviceOperatingSystems property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasNotDeviceTypes()
Returns true if the NotDeviceTypes property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasNotDeviceUserAgents()
Returns true if the NotDeviceUserAgents 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 |
mobileDeviceAccessRuleId()
The identifier of the rule to be updated.
|
String |
name()
The updated rule name.
|
List<String> |
notDeviceModels()
Device models that the updated rule will not match.
|
List<String> |
notDeviceOperatingSystems()
Device operating systems that the updated rule will not match.
|
List<String> |
notDeviceTypes()
Device types that the updated rule will not match.
|
List<String> |
notDeviceUserAgents()
User agents that the updated rule will not match.
|
String |
organizationId()
The Amazon WorkMail organization under which the rule will be updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateMobileDeviceAccessRuleRequest.Builder> |
serializableBuilderClass() |
UpdateMobileDeviceAccessRuleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String organizationId()
The Amazon WorkMail organization under which the rule will be updated.
public final String mobileDeviceAccessRuleId()
The identifier of the rule to be updated.
public final String name()
The updated rule name.
public final String description()
The updated rule description.
public final MobileDeviceAccessRuleEffect effect()
The effect of the rule when it matches. Allowed values are 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 rule when it matches. Allowed values are 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 boolean hasDeviceTypes()
public final List<String> deviceTypes()
Device types that the updated rule will match.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDeviceTypes() to see if a value was sent in this field.
public final boolean hasNotDeviceTypes()
public final List<String> notDeviceTypes()
Device types that the updated rule will not match. All other device types will match.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasNotDeviceTypes() to see if a value was sent in this field.
public final boolean hasDeviceModels()
public final List<String> deviceModels()
Device models that the updated rule will match.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDeviceModels() to see if a value was sent in this field.
public final boolean hasNotDeviceModels()
public final List<String> notDeviceModels()
Device models that the updated rule will not match. All other device models will match.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasNotDeviceModels() to see if a value was sent in this field.
public final boolean hasDeviceOperatingSystems()
public final List<String> deviceOperatingSystems()
Device operating systems that the updated rule will match.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDeviceOperatingSystems() to see if a value was sent in this field.
public final boolean hasNotDeviceOperatingSystems()
public final List<String> notDeviceOperatingSystems()
Device operating systems that the updated rule will not match. All other device operating systems will match.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasNotDeviceOperatingSystems() to see if a value was sent in this field.
public final boolean hasDeviceUserAgents()
public final List<String> deviceUserAgents()
User agents that the updated rule will match.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDeviceUserAgents() to see if a value was sent in this field.
public final boolean hasNotDeviceUserAgents()
public final List<String> notDeviceUserAgents()
User agents that the updated rule will not match. All other user agents will match.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasNotDeviceUserAgents() to see if a value was sent in this field.
public UpdateMobileDeviceAccessRuleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateMobileDeviceAccessRuleRequest.Builder,UpdateMobileDeviceAccessRuleRequest>toBuilder in class WorkMailRequestpublic static UpdateMobileDeviceAccessRuleRequest.Builder builder()
public static Class<? extends UpdateMobileDeviceAccessRuleRequest.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.