@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateIpRestrictionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateIpRestrictionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateIpRestrictionRequest |
addIpRestrictionRuleMapEntry(String key,
String value)
Add a single IpRestrictionRuleMap entry
|
UpdateIpRestrictionRequest |
clearIpRestrictionRuleMapEntries()
Removes all the entries added into IpRestrictionRuleMap.
|
UpdateIpRestrictionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The ID of the Amazon Web Services account that contains the IP rules.
|
Boolean |
getEnabled()
A value that specifies whether IP rules are turned on.
|
Map<String,String> |
getIpRestrictionRuleMap()
A map that describes the updated IP rules with CIDR ranges and descriptions.
|
int |
hashCode() |
Boolean |
isEnabled()
A value that specifies whether IP rules are turned on.
|
void |
setAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the IP rules.
|
void |
setEnabled(Boolean enabled)
A value that specifies whether IP rules are turned on.
|
void |
setIpRestrictionRuleMap(Map<String,String> ipRestrictionRuleMap)
A map that describes the updated IP rules with CIDR ranges and descriptions.
|
String |
toString()
Returns a string representation of this object.
|
UpdateIpRestrictionRequest |
withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the IP rules.
|
UpdateIpRestrictionRequest |
withEnabled(Boolean enabled)
A value that specifies whether IP rules are turned on.
|
UpdateIpRestrictionRequest |
withIpRestrictionRuleMap(Map<String,String> ipRestrictionRuleMap)
A map that describes the updated IP rules with CIDR ranges and descriptions.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeout
public void setAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the IP rules.
awsAccountId
- The ID of the Amazon Web Services account that contains the IP rules.public String getAwsAccountId()
The ID of the Amazon Web Services account that contains the IP rules.
public UpdateIpRestrictionRequest withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the IP rules.
awsAccountId
- The ID of the Amazon Web Services account that contains the IP rules.public Map<String,String> getIpRestrictionRuleMap()
A map that describes the updated IP rules with CIDR ranges and descriptions.
public void setIpRestrictionRuleMap(Map<String,String> ipRestrictionRuleMap)
A map that describes the updated IP rules with CIDR ranges and descriptions.
ipRestrictionRuleMap
- A map that describes the updated IP rules with CIDR ranges and descriptions.public UpdateIpRestrictionRequest withIpRestrictionRuleMap(Map<String,String> ipRestrictionRuleMap)
A map that describes the updated IP rules with CIDR ranges and descriptions.
ipRestrictionRuleMap
- A map that describes the updated IP rules with CIDR ranges and descriptions.public UpdateIpRestrictionRequest addIpRestrictionRuleMapEntry(String key, String value)
public UpdateIpRestrictionRequest clearIpRestrictionRuleMapEntries()
public void setEnabled(Boolean enabled)
A value that specifies whether IP rules are turned on.
enabled
- A value that specifies whether IP rules are turned on.public Boolean getEnabled()
A value that specifies whether IP rules are turned on.
public UpdateIpRestrictionRequest withEnabled(Boolean enabled)
A value that specifies whether IP rules are turned on.
enabled
- A value that specifies whether IP rules are turned on.public Boolean isEnabled()
A value that specifies whether IP rules are turned on.
public String toString()
toString
in class Object
Object.toString()
public UpdateIpRestrictionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.