@Generated(value="software.amazon.awssdk:codegen") public final class PutAccessControlRuleRequest extends WorkMailRequest implements ToCopyableBuilder<PutAccessControlRuleRequest.Builder,PutAccessControlRuleRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutAccessControlRuleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
actions()
Access protocol actions to include in the rule.
|
static PutAccessControlRuleRequest.Builder |
builder() |
String |
description()
The rule description.
|
AccessControlRuleEffect |
effect()
The rule effect.
|
String |
effectAsString()
The rule effect.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasActions()
For responses, this returns true if the service returned a value for the Actions property.
|
int |
hashCode() |
boolean |
hasImpersonationRoleIds()
For responses, this returns true if the service returned a value for the ImpersonationRoleIds property.
|
boolean |
hasIpRanges()
For responses, this returns true if the service returned a value for the IpRanges property.
|
boolean |
hasNotActions()
For responses, this returns true if the service returned a value for the NotActions property.
|
boolean |
hasNotImpersonationRoleIds()
For responses, this returns true if the service returned a value for the NotImpersonationRoleIds property.
|
boolean |
hasNotIpRanges()
For responses, this returns true if the service returned a value for the NotIpRanges property.
|
boolean |
hasNotUserIds()
For responses, this returns true if the service returned a value for the NotUserIds property.
|
boolean |
hasUserIds()
For responses, this returns true if the service returned a value for the UserIds property.
|
List<String> |
impersonationRoleIds()
Impersonation role IDs to include in the rule.
|
List<String> |
ipRanges()
IPv4 CIDR ranges to include in the rule.
|
String |
name()
The rule name.
|
List<String> |
notActions()
Access protocol actions to exclude from the rule.
|
List<String> |
notImpersonationRoleIds()
Impersonation role IDs to exclude from the rule.
|
List<String> |
notIpRanges()
IPv4 CIDR ranges to exclude from the rule.
|
List<String> |
notUserIds()
User IDs to exclude from the rule.
|
String |
organizationId()
The identifier of the organization.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutAccessControlRuleRequest.Builder> |
serializableBuilderClass() |
PutAccessControlRuleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
userIds()
User IDs to include in the rule.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The rule name.
public final AccessControlRuleEffect effect()
The rule effect.
If the service returns an enum value that is not available in the current SDK version, effect will
return AccessControlRuleEffect.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from effectAsString().
AccessControlRuleEffectpublic final String effectAsString()
The rule effect.
If the service returns an enum value that is not available in the current SDK version, effect will
return AccessControlRuleEffect.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from effectAsString().
AccessControlRuleEffectpublic final String description()
The rule description.
public final boolean hasIpRanges()
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> ipRanges()
IPv4 CIDR ranges to include in the rule.
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 hasIpRanges() method.
public final boolean hasNotIpRanges()
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> notIpRanges()
IPv4 CIDR ranges to exclude from the rule.
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 hasNotIpRanges() method.
public final boolean hasActions()
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> actions()
Access protocol actions to include in the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook,
and WebMail.
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 hasActions() method.
ActiveSync,
AutoDiscover, EWS, IMAP, SMTP,
WindowsOutlook, and WebMail.public final boolean hasNotActions()
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> notActions()
Access protocol actions to exclude from the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook,
and WebMail.
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 hasNotActions() method.
ActiveSync,
AutoDiscover, EWS, IMAP, SMTP,
WindowsOutlook, and WebMail.public final boolean hasUserIds()
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> userIds()
User IDs to include in the rule.
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 hasUserIds() method.
public final boolean hasNotUserIds()
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> notUserIds()
User IDs to exclude from the rule.
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 hasNotUserIds() method.
public final String organizationId()
The identifier of the organization.
public final boolean hasImpersonationRoleIds()
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> impersonationRoleIds()
Impersonation role IDs to include in the rule.
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 hasImpersonationRoleIds() method.
public final boolean hasNotImpersonationRoleIds()
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> notImpersonationRoleIds()
Impersonation role IDs to exclude from the rule.
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 hasNotImpersonationRoleIds() method.
public PutAccessControlRuleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutAccessControlRuleRequest.Builder,PutAccessControlRuleRequest>toBuilder in class WorkMailRequestpublic static PutAccessControlRuleRequest.Builder builder()
public static Class<? extends PutAccessControlRuleRequest.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.