@Stability(value=Stable)
public static interface CfnLoadBalancer.SubnetMappingProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticloadbalancingv2.*;
SubnetMappingProperty subnetMappingProperty = SubnetMappingProperty.builder()
.subnetId("subnetId")
// the properties below are optional
.allocationId("allocationId")
.iPv6Address("iPv6Address")
.privateIPv4Address("privateIPv4Address")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLoadBalancer.SubnetMappingProperty.Builder
A builder for
CfnLoadBalancer.SubnetMappingProperty |
static class |
CfnLoadBalancer.SubnetMappingProperty.Jsii$Proxy
An implementation for
CfnLoadBalancer.SubnetMappingProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLoadBalancer.SubnetMappingProperty.Builder |
builder() |
default String |
getAllocationId()
[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.
|
default String |
getIPv6Address()
[Network Load Balancers] The IPv6 address.
|
default String |
getPrivateIPv4Address()
[Network Load Balancers] The private IPv4 address for an internal load balancer.
|
String |
getSubnetId()
The ID of the subnet.
|
@Stability(value=Stable) @NotNull String getSubnetId()
@Stability(value=Stable) @Nullable default String getAllocationId()
@Stability(value=Stable) @Nullable default String getIPv6Address()
@Stability(value=Stable) @Nullable default String getPrivateIPv4Address()
@Stability(value=Stable) static CfnLoadBalancer.SubnetMappingProperty.Builder builder()
Copyright © 2022. All rights reserved.