@Stability(value=Stable) public static final class CfnContainer.PortInfoProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnContainer.PortInfoProperty>
CfnContainer.PortInfoProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnContainer.PortInfoProperty |
build()
Builds the configured instance.
|
CfnContainer.PortInfoProperty.Builder |
port(String port)
Sets the value of
CfnContainer.PortInfoProperty.getPort() |
CfnContainer.PortInfoProperty.Builder |
protocol(String protocol)
Sets the value of
CfnContainer.PortInfoProperty.getProtocol() |
@Stability(value=Stable) public CfnContainer.PortInfoProperty.Builder port(String port)
CfnContainer.PortInfoProperty.getPort()port - The open firewall ports of the container.this@Stability(value=Stable) public CfnContainer.PortInfoProperty.Builder protocol(String protocol)
CfnContainer.PortInfoProperty.getProtocol()protocol - The protocol name for the open ports.
Allowed values : HTTP | HTTPS | TCP | UDPthis@Stability(value=Stable) public CfnContainer.PortInfoProperty build()
build in interface software.amazon.jsii.Builder<CfnContainer.PortInfoProperty>CfnContainer.PortInfoPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.