@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()
For responses, this returns true if the service returned a value for the DeviceModels property.
|
boolean |
hasDeviceOperatingSystems()
For responses, this returns true if the service returned a value for the DeviceOperatingSystems property.
|
boolean |
hasDeviceTypes()
For responses, this returns true if the service returned a value for the DeviceTypes property.
|
boolean |
hasDeviceUserAgents()
For responses, this returns true if the service returned a value for the DeviceUserAgents property.
|
int |
hashCode() |
boolean |
hasNotDeviceModels()
For responses, this returns true if the service returned a value for the NotDeviceModels property.
|
boolean |
hasNotDeviceOperatingSystems()
For responses, this returns true if the service returned a value for the NotDeviceOperatingSystems property.
|
boolean |
hasNotDeviceTypes()
For responses, this returns true if the service returned a value for the NotDeviceTypes property.
|
boolean |
hasNotDeviceUserAgents()
For responses, this returns true if the service returned a value for the NotDeviceUserAgents property.
|
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 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 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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDeviceTypes() method.
public final boolean hasNotDeviceTypes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNotDeviceTypes() method.
public final boolean hasDeviceModels()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDeviceModels() method.
public final boolean hasNotDeviceModels()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNotDeviceModels() method.
public final boolean hasDeviceOperatingSystems()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDeviceOperatingSystems() method.
public final boolean hasNotDeviceOperatingSystems()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNotDeviceOperatingSystems() method.
public final boolean hasDeviceUserAgents()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDeviceUserAgents() method.
public final boolean hasNotDeviceUserAgents()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNotDeviceUserAgents() method.
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 © 2022. All rights reserved.