Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AclIcmp |
build()
Builds the configured instance.
|
AclIcmp.Builder |
code(Number code)
Sets the value of
AclIcmp.getCode() |
AclIcmp.Builder |
type(Number type)
Sets the value of
AclIcmp.getType() |
@Stability(value=Experimental) public AclIcmp.Builder code(Number code)
AclIcmp.getCode()
code
- The Internet Control Message Protocol (ICMP) code.
You can use -1 to specify all ICMP
codes for the given ICMP type. Requirement is conditional: Required if you
specify 1 (ICMP) for the protocol parameter.this
@Stability(value=Experimental) public AclIcmp.Builder type(Number type)
AclIcmp.getType()
type
- The Internet Control Message Protocol (ICMP) type.
You can use -1 to specify all ICMP types.
Conditional requirement: Required if you specify 1 (ICMP) for the CreateNetworkAclEntry protocol parameter.this
@Stability(value=Experimental) public AclIcmp build()
build
in interface software.amazon.jsii.Builder<AclIcmp>
AclIcmp
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.