@Stability(value=Stable)
public static interface CfnSpotFleet.PrivateIpAddressSpecificationProperty
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.ec2.*;
PrivateIpAddressSpecificationProperty privateIpAddressSpecificationProperty = PrivateIpAddressSpecificationProperty.builder()
.privateIpAddress("privateIpAddress")
// the properties below are optional
.primary(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSpotFleet.PrivateIpAddressSpecificationProperty.Builder
A builder for
CfnSpotFleet.PrivateIpAddressSpecificationProperty |
static class |
CfnSpotFleet.PrivateIpAddressSpecificationProperty.Jsii$Proxy
An implementation for
CfnSpotFleet.PrivateIpAddressSpecificationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSpotFleet.PrivateIpAddressSpecificationProperty.Builder |
builder() |
default Object |
getPrimary()
Indicates whether the private IPv4 address is the primary private IPv4 address.
|
String |
getPrivateIpAddress()
The private IPv4 addresses.
|
@Stability(value=Stable) @NotNull String getPrivateIpAddress()
@Stability(value=Stable) @Nullable default Object getPrimary()
Only one IPv4 address can be designated as primary.
@Stability(value=Stable) static CfnSpotFleet.PrivateIpAddressSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.