@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()
Returns true if the Actions 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 |
hasIpRanges()
Returns true if the IpRanges 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 |
hasNotActions()
Returns true if the NotActions 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 |
hasNotIpRanges()
Returns true if the NotIpRanges 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 |
hasNotUserIds()
Returns true if the NotUserIds 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 |
hasUserIds()
Returns true if the UserIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
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> |
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()
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.
You can use hasIpRanges() to see if a value was sent in this field.
public final boolean hasNotIpRanges()
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.
You can use hasNotIpRanges() to see if a value was sent in this field.
public final boolean hasActions()
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.
You can use hasActions() to see if a value was sent in this field.
ActiveSync,
AutoDiscover, EWS, IMAP, SMTP,
WindowsOutlook, and WebMail.public final boolean hasNotActions()
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.
You can use hasNotActions() to see if a value was sent in this field.
ActiveSync,
AutoDiscover, EWS, IMAP, SMTP,
WindowsOutlook, and WebMail.public final boolean hasUserIds()
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.
You can use hasUserIds() to see if a value was sent in this field.
public final boolean hasNotUserIds()
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.
You can use hasNotUserIds() to see if a value was sent in this field.
public final String organizationId()
The identifier of the organization.
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 © 2021. All rights reserved.