public static final class CfnSpotFleet.PrivateIpAddressSpecificationProperty.Builder
extends java.lang.Object
CfnSpotFleet.PrivateIpAddressSpecificationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnSpotFleet.PrivateIpAddressSpecificationProperty |
build()
Builds the configured instance.
|
CfnSpotFleet.PrivateIpAddressSpecificationProperty.Builder |
primary(java.lang.Boolean primary)
Sets the value of
CfnSpotFleet.PrivateIpAddressSpecificationProperty.getPrimary() |
CfnSpotFleet.PrivateIpAddressSpecificationProperty.Builder |
primary(IResolvable primary)
Sets the value of
CfnSpotFleet.PrivateIpAddressSpecificationProperty.getPrimary() |
CfnSpotFleet.PrivateIpAddressSpecificationProperty.Builder |
privateIpAddress(java.lang.String privateIpAddress)
Sets the value of
CfnSpotFleet.PrivateIpAddressSpecificationProperty.getPrivateIpAddress() |
public CfnSpotFleet.PrivateIpAddressSpecificationProperty.Builder privateIpAddress(java.lang.String privateIpAddress)
CfnSpotFleet.PrivateIpAddressSpecificationProperty.getPrivateIpAddress()
privateIpAddress
- The private IPv4 addresses. This parameter is required.this
public CfnSpotFleet.PrivateIpAddressSpecificationProperty.Builder primary(java.lang.Boolean primary)
CfnSpotFleet.PrivateIpAddressSpecificationProperty.getPrimary()
primary
- Indicates whether the private IPv4 address is the primary private IPv4 address.
Only one IPv4 address can be designated as primary.this
public CfnSpotFleet.PrivateIpAddressSpecificationProperty.Builder primary(IResolvable primary)
CfnSpotFleet.PrivateIpAddressSpecificationProperty.getPrimary()
primary
- Indicates whether the private IPv4 address is the primary private IPv4 address.
Only one IPv4 address can be designated as primary.this
public CfnSpotFleet.PrivateIpAddressSpecificationProperty build()
CfnSpotFleet.PrivateIpAddressSpecificationProperty
java.lang.NullPointerException
- if any required attribute was not provided