@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAccessControlRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutAccessControlRuleRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutAccessControlRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getActions()
Access protocol actions to include in the rule.
|
String |
getDescription()
The rule description.
|
String |
getEffect()
The rule effect.
|
List<String> |
getImpersonationRoleIds()
Impersonation role IDs to include in the rule.
|
List<String> |
getIpRanges()
IPv4 CIDR ranges to include in the rule.
|
String |
getName()
The rule name.
|
List<String> |
getNotActions()
Access protocol actions to exclude from the rule.
|
List<String> |
getNotImpersonationRoleIds()
Impersonation role IDs to exclude from the rule.
|
List<String> |
getNotIpRanges()
IPv4 CIDR ranges to exclude from the rule.
|
List<String> |
getNotUserIds()
User IDs to exclude from the rule.
|
String |
getOrganizationId()
The identifier of the organization.
|
List<String> |
getUserIds()
User IDs to include in the rule.
|
int |
hashCode() |
void |
setActions(Collection<String> actions)
Access protocol actions to include in the rule.
|
void |
setDescription(String description)
The rule description.
|
void |
setEffect(String effect)
The rule effect.
|
void |
setImpersonationRoleIds(Collection<String> impersonationRoleIds)
Impersonation role IDs to include in the rule.
|
void |
setIpRanges(Collection<String> ipRanges)
IPv4 CIDR ranges to include in the rule.
|
void |
setName(String name)
The rule name.
|
void |
setNotActions(Collection<String> notActions)
Access protocol actions to exclude from the rule.
|
void |
setNotImpersonationRoleIds(Collection<String> notImpersonationRoleIds)
Impersonation role IDs to exclude from the rule.
|
void |
setNotIpRanges(Collection<String> notIpRanges)
IPv4 CIDR ranges to exclude from the rule.
|
void |
setNotUserIds(Collection<String> notUserIds)
User IDs to exclude from the rule.
|
void |
setOrganizationId(String organizationId)
The identifier of the organization.
|
void |
setUserIds(Collection<String> userIds)
User IDs to include in the rule.
|
String |
toString()
Returns a string representation of this object.
|
PutAccessControlRuleRequest |
withActions(Collection<String> actions)
Access protocol actions to include in the rule.
|
PutAccessControlRuleRequest |
withActions(String... actions)
Access protocol actions to include in the rule.
|
PutAccessControlRuleRequest |
withDescription(String description)
The rule description.
|
PutAccessControlRuleRequest |
withEffect(AccessControlRuleEffect effect)
The rule effect.
|
PutAccessControlRuleRequest |
withEffect(String effect)
The rule effect.
|
PutAccessControlRuleRequest |
withImpersonationRoleIds(Collection<String> impersonationRoleIds)
Impersonation role IDs to include in the rule.
|
PutAccessControlRuleRequest |
withImpersonationRoleIds(String... impersonationRoleIds)
Impersonation role IDs to include in the rule.
|
PutAccessControlRuleRequest |
withIpRanges(Collection<String> ipRanges)
IPv4 CIDR ranges to include in the rule.
|
PutAccessControlRuleRequest |
withIpRanges(String... ipRanges)
IPv4 CIDR ranges to include in the rule.
|
PutAccessControlRuleRequest |
withName(String name)
The rule name.
|
PutAccessControlRuleRequest |
withNotActions(Collection<String> notActions)
Access protocol actions to exclude from the rule.
|
PutAccessControlRuleRequest |
withNotActions(String... notActions)
Access protocol actions to exclude from the rule.
|
PutAccessControlRuleRequest |
withNotImpersonationRoleIds(Collection<String> notImpersonationRoleIds)
Impersonation role IDs to exclude from the rule.
|
PutAccessControlRuleRequest |
withNotImpersonationRoleIds(String... notImpersonationRoleIds)
Impersonation role IDs to exclude from the rule.
|
PutAccessControlRuleRequest |
withNotIpRanges(Collection<String> notIpRanges)
IPv4 CIDR ranges to exclude from the rule.
|
PutAccessControlRuleRequest |
withNotIpRanges(String... notIpRanges)
IPv4 CIDR ranges to exclude from the rule.
|
PutAccessControlRuleRequest |
withNotUserIds(Collection<String> notUserIds)
User IDs to exclude from the rule.
|
PutAccessControlRuleRequest |
withNotUserIds(String... notUserIds)
User IDs to exclude from the rule.
|
PutAccessControlRuleRequest |
withOrganizationId(String organizationId)
The identifier of the organization.
|
PutAccessControlRuleRequest |
withUserIds(Collection<String> userIds)
User IDs to include in the rule.
|
PutAccessControlRuleRequest |
withUserIds(String... userIds)
User IDs to include in the rule.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The rule name.
name - The rule name.public String getName()
The rule name.
public PutAccessControlRuleRequest withName(String name)
The rule name.
name - The rule name.public void setEffect(String effect)
The rule effect.
effect - The rule effect.AccessControlRuleEffectpublic String getEffect()
The rule effect.
AccessControlRuleEffectpublic PutAccessControlRuleRequest withEffect(String effect)
The rule effect.
effect - The rule effect.AccessControlRuleEffectpublic PutAccessControlRuleRequest withEffect(AccessControlRuleEffect effect)
The rule effect.
effect - The rule effect.AccessControlRuleEffectpublic void setDescription(String description)
The rule description.
description - The rule description.public String getDescription()
The rule description.
public PutAccessControlRuleRequest withDescription(String description)
The rule description.
description - The rule description.public List<String> getIpRanges()
IPv4 CIDR ranges to include in the rule.
public void setIpRanges(Collection<String> ipRanges)
IPv4 CIDR ranges to include in the rule.
ipRanges - IPv4 CIDR ranges to include in the rule.public PutAccessControlRuleRequest withIpRanges(String... ipRanges)
IPv4 CIDR ranges to include in the rule.
NOTE: This method appends the values to the existing list (if any). Use
setIpRanges(java.util.Collection) or withIpRanges(java.util.Collection) if you want to override
the existing values.
ipRanges - IPv4 CIDR ranges to include in the rule.public PutAccessControlRuleRequest withIpRanges(Collection<String> ipRanges)
IPv4 CIDR ranges to include in the rule.
ipRanges - IPv4 CIDR ranges to include in the rule.public List<String> getNotIpRanges()
IPv4 CIDR ranges to exclude from the rule.
public void setNotIpRanges(Collection<String> notIpRanges)
IPv4 CIDR ranges to exclude from the rule.
notIpRanges - IPv4 CIDR ranges to exclude from the rule.public PutAccessControlRuleRequest withNotIpRanges(String... notIpRanges)
IPv4 CIDR ranges to exclude from the rule.
NOTE: This method appends the values to the existing list (if any). Use
setNotIpRanges(java.util.Collection) or withNotIpRanges(java.util.Collection) if you want to
override the existing values.
notIpRanges - IPv4 CIDR ranges to exclude from the rule.public PutAccessControlRuleRequest withNotIpRanges(Collection<String> notIpRanges)
IPv4 CIDR ranges to exclude from the rule.
notIpRanges - IPv4 CIDR ranges to exclude from the rule.public List<String> getActions()
Access protocol actions to include in the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook,
and WebMail.
ActiveSync,
AutoDiscover, EWS, IMAP, SMTP,
WindowsOutlook, and WebMail.public void setActions(Collection<String> actions)
Access protocol actions to include in the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook,
and WebMail.
actions - Access protocol actions to include in the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP,
WindowsOutlook, and WebMail.public PutAccessControlRuleRequest withActions(String... actions)
Access protocol actions to include in the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook,
and WebMail.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection) or withActions(java.util.Collection) if you want to override
the existing values.
actions - Access protocol actions to include in the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP,
WindowsOutlook, and WebMail.public PutAccessControlRuleRequest withActions(Collection<String> actions)
Access protocol actions to include in the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook,
and WebMail.
actions - Access protocol actions to include in the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP,
WindowsOutlook, and WebMail.public List<String> getNotActions()
Access protocol actions to exclude from the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook,
and WebMail.
ActiveSync,
AutoDiscover, EWS, IMAP, SMTP,
WindowsOutlook, and WebMail.public void setNotActions(Collection<String> notActions)
Access protocol actions to exclude from the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook,
and WebMail.
notActions - Access protocol actions to exclude from the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP,
WindowsOutlook, and WebMail.public PutAccessControlRuleRequest withNotActions(String... notActions)
Access protocol actions to exclude from the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook,
and WebMail.
NOTE: This method appends the values to the existing list (if any). Use
setNotActions(java.util.Collection) or withNotActions(java.util.Collection) if you want to
override the existing values.
notActions - Access protocol actions to exclude from the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP,
WindowsOutlook, and WebMail.public PutAccessControlRuleRequest withNotActions(Collection<String> notActions)
Access protocol actions to exclude from the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook,
and WebMail.
notActions - Access protocol actions to exclude from the rule. Valid values include ActiveSync,
AutoDiscover, EWS, IMAP, SMTP,
WindowsOutlook, and WebMail.public List<String> getUserIds()
User IDs to include in the rule.
public void setUserIds(Collection<String> userIds)
User IDs to include in the rule.
userIds - User IDs to include in the rule.public PutAccessControlRuleRequest withUserIds(String... userIds)
User IDs to include in the rule.
NOTE: This method appends the values to the existing list (if any). Use
setUserIds(java.util.Collection) or withUserIds(java.util.Collection) if you want to override
the existing values.
userIds - User IDs to include in the rule.public PutAccessControlRuleRequest withUserIds(Collection<String> userIds)
User IDs to include in the rule.
userIds - User IDs to include in the rule.public List<String> getNotUserIds()
User IDs to exclude from the rule.
public void setNotUserIds(Collection<String> notUserIds)
User IDs to exclude from the rule.
notUserIds - User IDs to exclude from the rule.public PutAccessControlRuleRequest withNotUserIds(String... notUserIds)
User IDs to exclude from the rule.
NOTE: This method appends the values to the existing list (if any). Use
setNotUserIds(java.util.Collection) or withNotUserIds(java.util.Collection) if you want to
override the existing values.
notUserIds - User IDs to exclude from the rule.public PutAccessControlRuleRequest withNotUserIds(Collection<String> notUserIds)
User IDs to exclude from the rule.
notUserIds - User IDs to exclude from the rule.public void setOrganizationId(String organizationId)
The identifier of the organization.
organizationId - The identifier of the organization.public String getOrganizationId()
The identifier of the organization.
public PutAccessControlRuleRequest withOrganizationId(String organizationId)
The identifier of the organization.
organizationId - The identifier of the organization.public List<String> getImpersonationRoleIds()
Impersonation role IDs to include in the rule.
public void setImpersonationRoleIds(Collection<String> impersonationRoleIds)
Impersonation role IDs to include in the rule.
impersonationRoleIds - Impersonation role IDs to include in the rule.public PutAccessControlRuleRequest withImpersonationRoleIds(String... impersonationRoleIds)
Impersonation role IDs to include in the rule.
NOTE: This method appends the values to the existing list (if any). Use
setImpersonationRoleIds(java.util.Collection) or withImpersonationRoleIds(java.util.Collection)
if you want to override the existing values.
impersonationRoleIds - Impersonation role IDs to include in the rule.public PutAccessControlRuleRequest withImpersonationRoleIds(Collection<String> impersonationRoleIds)
Impersonation role IDs to include in the rule.
impersonationRoleIds - Impersonation role IDs to include in the rule.public List<String> getNotImpersonationRoleIds()
Impersonation role IDs to exclude from the rule.
public void setNotImpersonationRoleIds(Collection<String> notImpersonationRoleIds)
Impersonation role IDs to exclude from the rule.
notImpersonationRoleIds - Impersonation role IDs to exclude from the rule.public PutAccessControlRuleRequest withNotImpersonationRoleIds(String... notImpersonationRoleIds)
Impersonation role IDs to exclude from the rule.
NOTE: This method appends the values to the existing list (if any). Use
setNotImpersonationRoleIds(java.util.Collection) or
withNotImpersonationRoleIds(java.util.Collection) if you want to override the existing values.
notImpersonationRoleIds - Impersonation role IDs to exclude from the rule.public PutAccessControlRuleRequest withNotImpersonationRoleIds(Collection<String> notImpersonationRoleIds)
Impersonation role IDs to exclude from the rule.
notImpersonationRoleIds - Impersonation role IDs to exclude from the rule.public String toString()
toString in class ObjectObject.toString()public PutAccessControlRuleRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()