@Stability(value=Stable)
public static interface CfnInstance.PortProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lightsail.*;
PortProperty portProperty = PortProperty.builder()
.accessDirection("accessDirection")
.accessFrom("accessFrom")
.accessType("accessType")
.cidrListAliases(List.of("cidrListAliases"))
.cidrs(List.of("cidrs"))
.commonName("commonName")
.fromPort(123)
.ipv6Cidrs(List.of("ipv6Cidrs"))
.protocol("protocol")
.toPort(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnInstance.PortProperty.Builder
A builder for
CfnInstance.PortProperty |
static class |
CfnInstance.PortProperty.Jsii$Proxy
An implementation for
CfnInstance.PortProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnInstance.PortProperty.Builder |
builder() |
default String |
getAccessDirection()
`CfnInstance.PortProperty.AccessDirection`.
|
default String |
getAccessFrom()
`CfnInstance.PortProperty.AccessFrom`.
|
default String |
getAccessType()
`CfnInstance.PortProperty.AccessType`.
|
default List<String> |
getCidrListAliases()
`CfnInstance.PortProperty.CidrListAliases`.
|
default List<String> |
getCidrs()
`CfnInstance.PortProperty.Cidrs`.
|
default String |
getCommonName()
`CfnInstance.PortProperty.CommonName`.
|
default Number |
getFromPort()
`CfnInstance.PortProperty.FromPort`.
|
default List<String> |
getIpv6Cidrs()
`CfnInstance.PortProperty.Ipv6Cidrs`.
|
default String |
getProtocol()
`CfnInstance.PortProperty.Protocol`.
|
default Number |
getToPort()
`CfnInstance.PortProperty.ToPort`.
|
@Stability(value=Stable) @Nullable default String getAccessDirection()
@Stability(value=Stable) @Nullable default String getAccessFrom()
@Stability(value=Stable) @Nullable default String getAccessType()
@Stability(value=Stable) @Nullable default List<String> getCidrListAliases()
@Stability(value=Stable) @Nullable default List<String> getCidrs()
@Stability(value=Stable) @Nullable default String getCommonName()
@Stability(value=Stable) @Nullable default Number getFromPort()
@Stability(value=Stable) @Nullable default List<String> getIpv6Cidrs()
@Stability(value=Stable) @Nullable default String getProtocol()
@Stability(value=Stable) @Nullable default Number getToPort()
@Stability(value=Stable) static CfnInstance.PortProperty.Builder builder()
CfnInstance.PortProperty.Builder of CfnInstance.PortPropertyCopyright © 2021. All rights reserved.