@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeIpRestrictionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeIpRestrictionResult() |
Modifier and Type | Method and Description |
---|---|
DescribeIpRestrictionResult |
addIpRestrictionRuleMapEntry(String key,
String value)
Add a single IpRestrictionRuleMap entry
|
DescribeIpRestrictionResult |
clearIpRestrictionRuleMapEntries()
Removes all the entries added into IpRestrictionRuleMap.
|
DescribeIpRestrictionResult |
clone() |
boolean |
equals(Object obj) |
String |
getAwsAccountId()
Your AWS account ID.
|
Boolean |
getEnabled()
Whether or not IP rules are enabled.
|
Map<String,String> |
getIpRestrictionRuleMap()
Describes the IP rules with CIDR range and description.
|
String |
getRequestId()
The ID of the describe request.
|
Integer |
getStatus()
The status of a set of IP restrictions.
|
int |
hashCode() |
Boolean |
isEnabled()
Whether or not IP rules are enabled.
|
void |
setAwsAccountId(String awsAccountId)
Your AWS account ID.
|
void |
setEnabled(Boolean enabled)
Whether or not IP rules are enabled.
|
void |
setIpRestrictionRuleMap(Map<String,String> ipRestrictionRuleMap)
Describes the IP rules with CIDR range and description.
|
void |
setRequestId(String requestId)
The ID of the describe request.
|
void |
setStatus(Integer status)
The status of a set of IP restrictions.
|
String |
toString()
Returns a string representation of this object.
|
DescribeIpRestrictionResult |
withAwsAccountId(String awsAccountId)
Your AWS account ID.
|
DescribeIpRestrictionResult |
withEnabled(Boolean enabled)
Whether or not IP rules are enabled.
|
DescribeIpRestrictionResult |
withIpRestrictionRuleMap(Map<String,String> ipRestrictionRuleMap)
Describes the IP rules with CIDR range and description.
|
DescribeIpRestrictionResult |
withRequestId(String requestId)
The ID of the describe request.
|
DescribeIpRestrictionResult |
withStatus(Integer status)
The status of a set of IP restrictions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAwsAccountId(String awsAccountId)
Your AWS account ID.
awsAccountId
- Your AWS account ID.public String getAwsAccountId()
Your AWS account ID.
public DescribeIpRestrictionResult withAwsAccountId(String awsAccountId)
Your AWS account ID.
awsAccountId
- Your AWS account ID.public Map<String,String> getIpRestrictionRuleMap()
Describes the IP rules with CIDR range and description.
public void setIpRestrictionRuleMap(Map<String,String> ipRestrictionRuleMap)
Describes the IP rules with CIDR range and description.
ipRestrictionRuleMap
- Describes the IP rules with CIDR range and description.public DescribeIpRestrictionResult withIpRestrictionRuleMap(Map<String,String> ipRestrictionRuleMap)
Describes the IP rules with CIDR range and description.
ipRestrictionRuleMap
- Describes the IP rules with CIDR range and description.public DescribeIpRestrictionResult addIpRestrictionRuleMapEntry(String key, String value)
public DescribeIpRestrictionResult clearIpRestrictionRuleMapEntries()
public void setEnabled(Boolean enabled)
Whether or not IP rules are enabled.
enabled
- Whether or not IP rules are enabled.public Boolean getEnabled()
Whether or not IP rules are enabled.
public DescribeIpRestrictionResult withEnabled(Boolean enabled)
Whether or not IP rules are enabled.
enabled
- Whether or not IP rules are enabled.public Boolean isEnabled()
Whether or not IP rules are enabled.
public void setRequestId(String requestId)
The ID of the describe request.
requestId
- The ID of the describe request.public String getRequestId()
The ID of the describe request.
public DescribeIpRestrictionResult withRequestId(String requestId)
The ID of the describe request.
requestId
- The ID of the describe request.public void setStatus(Integer status)
The status of a set of IP restrictions. A successful request returns a 200 status code.
status
- The status of a set of IP restrictions. A successful request returns a 200 status code.public Integer getStatus()
The status of a set of IP restrictions. A successful request returns a 200 status code.
public DescribeIpRestrictionResult withStatus(Integer status)
The status of a set of IP restrictions. A successful request returns a 200 status code.
status
- The status of a set of IP restrictions. A successful request returns a 200 status code.public String toString()
toString
in class Object
Object.toString()
public DescribeIpRestrictionResult clone()
Copyright © 2021. All rights reserved.