@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 |
addVpcEndpointIdRestrictionRuleMapEntry(String key,
String value)
Add a single VpcEndpointIdRestrictionRuleMap entry
|
DescribeIpRestrictionResult |
addVpcIdRestrictionRuleMapEntry(String key,
String value)
Add a single VpcIdRestrictionRuleMap entry
|
DescribeIpRestrictionResult |
clearIpRestrictionRuleMapEntries()
Removes all the entries added into IpRestrictionRuleMap.
|
DescribeIpRestrictionResult |
clearVpcEndpointIdRestrictionRuleMapEntries()
Removes all the entries added into VpcEndpointIdRestrictionRuleMap.
|
DescribeIpRestrictionResult |
clearVpcIdRestrictionRuleMapEntries()
Removes all the entries added into VpcIdRestrictionRuleMap.
|
DescribeIpRestrictionResult |
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 IP rules with CIDR range and description.
|
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
Map<String,String> |
getVpcEndpointIdRestrictionRuleMap()
A map of allowed VPC endpoint IDs and their rule descriptions.
|
Map<String,String> |
getVpcIdRestrictionRuleMap()
A map of allowed VPC IDs and their rule 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 IP rules with CIDR range and description.
|
void |
setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
void |
setVpcEndpointIdRestrictionRuleMap(Map<String,String> vpcEndpointIdRestrictionRuleMap)
A map of allowed VPC endpoint IDs and their rule descriptions.
|
void |
setVpcIdRestrictionRuleMap(Map<String,String> vpcIdRestrictionRuleMap)
A map of allowed VPC IDs and their rule descriptions.
|
String |
toString()
Returns a string representation of this object.
|
DescribeIpRestrictionResult |
withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the IP rules.
|
DescribeIpRestrictionResult |
withEnabled(Boolean enabled)
A value that specifies whether IP rules are turned on.
|
DescribeIpRestrictionResult |
withIpRestrictionRuleMap(Map<String,String> ipRestrictionRuleMap)
A map that describes the IP rules with CIDR range and description.
|
DescribeIpRestrictionResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
DescribeIpRestrictionResult |
withStatus(Integer status)
The HTTP status of the request.
|
DescribeIpRestrictionResult |
withVpcEndpointIdRestrictionRuleMap(Map<String,String> vpcEndpointIdRestrictionRuleMap)
A map of allowed VPC endpoint IDs and their rule descriptions.
|
DescribeIpRestrictionResult |
withVpcIdRestrictionRuleMap(Map<String,String> vpcIdRestrictionRuleMap)
A map of allowed VPC IDs and their rule descriptions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 DescribeIpRestrictionResult 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 IP rules with CIDR range and description.
public void setIpRestrictionRuleMap(Map<String,String> ipRestrictionRuleMap)
A map that describes the IP rules with CIDR range and description.
ipRestrictionRuleMap
- A map that describes the IP rules with CIDR range and description.public DescribeIpRestrictionResult withIpRestrictionRuleMap(Map<String,String> ipRestrictionRuleMap)
A map that describes the IP rules with CIDR range and description.
ipRestrictionRuleMap
- A map that describes the IP rules with CIDR range and description.public DescribeIpRestrictionResult addIpRestrictionRuleMapEntry(String key, String value)
public DescribeIpRestrictionResult clearIpRestrictionRuleMapEntries()
public Map<String,String> getVpcIdRestrictionRuleMap()
A map of allowed VPC IDs and their rule descriptions.
public void setVpcIdRestrictionRuleMap(Map<String,String> vpcIdRestrictionRuleMap)
A map of allowed VPC IDs and their rule descriptions.
vpcIdRestrictionRuleMap
- A map of allowed VPC IDs and their rule descriptions.public DescribeIpRestrictionResult withVpcIdRestrictionRuleMap(Map<String,String> vpcIdRestrictionRuleMap)
A map of allowed VPC IDs and their rule descriptions.
vpcIdRestrictionRuleMap
- A map of allowed VPC IDs and their rule descriptions.public DescribeIpRestrictionResult addVpcIdRestrictionRuleMapEntry(String key, String value)
public DescribeIpRestrictionResult clearVpcIdRestrictionRuleMapEntries()
public Map<String,String> getVpcEndpointIdRestrictionRuleMap()
A map of allowed VPC endpoint IDs and their rule descriptions.
public void setVpcEndpointIdRestrictionRuleMap(Map<String,String> vpcEndpointIdRestrictionRuleMap)
A map of allowed VPC endpoint IDs and their rule descriptions.
vpcEndpointIdRestrictionRuleMap
- A map of allowed VPC endpoint IDs and their rule descriptions.public DescribeIpRestrictionResult withVpcEndpointIdRestrictionRuleMap(Map<String,String> vpcEndpointIdRestrictionRuleMap)
A map of allowed VPC endpoint IDs and their rule descriptions.
vpcEndpointIdRestrictionRuleMap
- A map of allowed VPC endpoint IDs and their rule descriptions.public DescribeIpRestrictionResult addVpcEndpointIdRestrictionRuleMapEntry(String key, String value)
public DescribeIpRestrictionResult clearVpcEndpointIdRestrictionRuleMapEntries()
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 DescribeIpRestrictionResult 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 void setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String getRequestId()
The Amazon Web Services request ID for this operation.
public DescribeIpRestrictionResult withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public void setStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public Integer getStatus()
The HTTP status of the request.
public DescribeIpRestrictionResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public String toString()
toString
in class Object
Object.toString()
public DescribeIpRestrictionResult clone()