@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 |
addVpcEndpointIdRestrictionRuleMapEntry(String key,
String value)
Add a single VpcEndpointIdRestrictionRuleMap entry
|
UpdateIpRestrictionRequest |
addVpcIdRestrictionRuleMapEntry(String key,
String value)
Add a single VpcIdRestrictionRuleMap entry
|
UpdateIpRestrictionRequest |
clearIpRestrictionRuleMapEntries()
Removes all the entries added into IpRestrictionRuleMap.
|
UpdateIpRestrictionRequest |
clearVpcEndpointIdRestrictionRuleMapEntries()
Removes all the entries added into VpcEndpointIdRestrictionRuleMap.
|
UpdateIpRestrictionRequest |
clearVpcIdRestrictionRuleMapEntries()
Removes all the entries added into VpcIdRestrictionRuleMap.
|
UpdateIpRestrictionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
Map<String,String> |
getVpcEndpointIdRestrictionRuleMap()
A map of allowed VPC endpoint IDs and their corresponding rule descriptions.
|
Map<String,String> |
getVpcIdRestrictionRuleMap()
A map of VPC IDs and their corresponding rules.
|
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.
|
void |
setVpcEndpointIdRestrictionRuleMap(Map<String,String> vpcEndpointIdRestrictionRuleMap)
A map of allowed VPC endpoint IDs and their corresponding rule descriptions.
|
void |
setVpcIdRestrictionRuleMap(Map<String,String> vpcIdRestrictionRuleMap)
A map of VPC IDs and their corresponding rules.
|
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.
|
UpdateIpRestrictionRequest |
withVpcEndpointIdRestrictionRuleMap(Map<String,String> vpcEndpointIdRestrictionRuleMap)
A map of allowed VPC endpoint IDs and their corresponding rule descriptions.
|
UpdateIpRestrictionRequest |
withVpcIdRestrictionRuleMap(Map<String,String> vpcIdRestrictionRuleMap)
A map of VPC IDs and their corresponding rules.
|
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, 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 Map<String,String> getVpcIdRestrictionRuleMap()
A map of VPC IDs and their corresponding rules. When you configure this parameter, traffic from all VPC endpoints that are present in the specified VPC is allowed.
public void setVpcIdRestrictionRuleMap(Map<String,String> vpcIdRestrictionRuleMap)
A map of VPC IDs and their corresponding rules. When you configure this parameter, traffic from all VPC endpoints that are present in the specified VPC is allowed.
vpcIdRestrictionRuleMap
- A map of VPC IDs and their corresponding rules. When you configure this parameter, traffic from all VPC
endpoints that are present in the specified VPC is allowed.public UpdateIpRestrictionRequest withVpcIdRestrictionRuleMap(Map<String,String> vpcIdRestrictionRuleMap)
A map of VPC IDs and their corresponding rules. When you configure this parameter, traffic from all VPC endpoints that are present in the specified VPC is allowed.
vpcIdRestrictionRuleMap
- A map of VPC IDs and their corresponding rules. When you configure this parameter, traffic from all VPC
endpoints that are present in the specified VPC is allowed.public UpdateIpRestrictionRequest addVpcIdRestrictionRuleMapEntry(String key, String value)
public UpdateIpRestrictionRequest clearVpcIdRestrictionRuleMapEntries()
public Map<String,String> getVpcEndpointIdRestrictionRuleMap()
A map of allowed VPC endpoint IDs and their corresponding rule descriptions.
public void setVpcEndpointIdRestrictionRuleMap(Map<String,String> vpcEndpointIdRestrictionRuleMap)
A map of allowed VPC endpoint IDs and their corresponding rule descriptions.
vpcEndpointIdRestrictionRuleMap
- A map of allowed VPC endpoint IDs and their corresponding rule descriptions.public UpdateIpRestrictionRequest withVpcEndpointIdRestrictionRuleMap(Map<String,String> vpcEndpointIdRestrictionRuleMap)
A map of allowed VPC endpoint IDs and their corresponding rule descriptions.
vpcEndpointIdRestrictionRuleMap
- A map of allowed VPC endpoint IDs and their corresponding rule descriptions.public UpdateIpRestrictionRequest addVpcEndpointIdRestrictionRuleMapEntry(String key, String value)
public UpdateIpRestrictionRequest 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 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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()