Cloneable
, ReadLimitInfo
, ToCopyableBuilder<ReplaceNetworkAclEntryRequest.Builder,ReplaceNetworkAclEntryRequest>
@Generated("software.amazon.awssdk:codegen") public class ReplaceNetworkAclEntryRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<ReplaceNetworkAclEntryRequest.Builder,ReplaceNetworkAclEntryRequest>
Contains the parameters for ReplaceNetworkAclEntry.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ReplaceNetworkAclEntryRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static ReplaceNetworkAclEntryRequest.Builder |
builder() |
|
String |
cidrBlock() |
The IPv4 network range to allow or deny, in CIDR notation (for example
172.16.0.0/24 ). |
Boolean |
egress() |
Indicates whether to replace the egress rule.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
IcmpTypeCode |
icmpTypeCode() |
ICMP protocol: The ICMP or ICMPv6 type and code.
|
String |
ipv6CidrBlock() |
The IPv6 network range to allow or deny, in CIDR notation (for example
2001:bd8:1234:1a00::/64 ). |
String |
networkAclId() |
The ID of the ACL.
|
PortRange |
portRange() |
TCP or UDP protocols: The range of ports the rule applies to.
|
String |
protocol() |
The IP protocol.
|
String |
ruleAction() |
Indicates whether to allow or deny the traffic that matches the rule.
|
Integer |
ruleNumber() |
The rule number of the entry to replace.
|
static Class<? extends ReplaceNetworkAclEntryRequest.Builder> |
serializableBuilderClass() |
|
ReplaceNetworkAclEntryRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String cidrBlock()
The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24
).
172.16.0.0/24
).public Boolean egress()
Indicates whether to replace the egress rule.
Default: If no value is specified, we replace the ingress rule.
Default: If no value is specified, we replace the ingress rule.
public IcmpTypeCode icmpTypeCode()
ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying the ICMP (1) protocol, or protocol 58 (ICMPv6) with an IPv6 CIDR block.
public String ipv6CidrBlock()
The IPv6 network range to allow or deny, in CIDR notation (for example 2001:bd8:1234:1a00::/64
).
2001:bd8:1234:1a00::/64
).public String networkAclId()
The ID of the ACL.
public PortRange portRange()
TCP or UDP protocols: The range of ports the rule applies to. Required if specifying TCP (6) or UDP (17) for the protocol.
public String protocol()
The IP protocol. You can specify all
or -1
to mean all protocols. If you specify
all
, -1
, or a protocol number other than tcp
, udp
, or
icmp
, traffic on all ports is allowed, regardless of any ports or ICMP types or codes you specify.
If you specify protocol 58
(ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and
codes allowed, regardless of any that you specify. If you specify protocol 58
(ICMPv6) and specify
an IPv6 CIDR block, you must specify an ICMP type and code.
all
or -1
to mean all protocols. If you
specify all
, -1
, or a protocol number other than tcp
,
udp
, or icmp
, traffic on all ports is allowed, regardless of any ports or ICMP
types or codes you specify. If you specify protocol 58
(ICMPv6) and specify an IPv4 CIDR
block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify
protocol 58
(ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.public String ruleAction()
Indicates whether to allow or deny the traffic that matches the rule.
RuleAction
public Integer ruleNumber()
The rule number of the entry to replace.
public ReplaceNetworkAclEntryRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReplaceNetworkAclEntryRequest.Builder,ReplaceNetworkAclEntryRequest>
public static ReplaceNetworkAclEntryRequest.Builder builder()
public static Class<? extends ReplaceNetworkAclEntryRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.