withSecondaryPrivateIpAddressCount

Returns a reference to this object so that method calls can be chained together.

Parameters:

secondaryPrivateIpAddressCount - The number of secondary private IP addresses.

Returns:

A reference to this updated object so that method calls can be chained
together.

isAssociatePublicIpAddress

public java.lang.Boolean isAssociatePublicIpAddress()

Indicates whether to assign a public IP address to instances launched
in a VPC. The public IP address can only be assigned to a network
interface for eth0, and can only be assigned to a new network
interface, not an existing one. You cannot specify more than one
network interface in the request. If launching into a default subnet,
the default value is true.

Returns:

Indicates whether to assign a public IP address to instances launched
in a VPC. The public IP address can only be assigned to a network
interface for eth0, and can only be assigned to a new network
interface, not an existing one. You cannot specify more than one
network interface in the request. If launching into a default subnet,
the default value is true.

setAssociatePublicIpAddress

Indicates whether to assign a public IP address to instances launched
in a VPC. The public IP address can only be assigned to a network
interface for eth0, and can only be assigned to a new network
interface, not an existing one. You cannot specify more than one
network interface in the request. If launching into a default subnet,
the default value is true.

Parameters:

associatePublicIpAddress - Indicates whether to assign a public IP address to instances launched
in a VPC. The public IP address can only be assigned to a network
interface for eth0, and can only be assigned to a new network
interface, not an existing one. You cannot specify more than one
network interface in the request. If launching into a default subnet,
the default value is true.

withAssociatePublicIpAddress

Indicates whether to assign a public IP address to instances launched
in a VPC. The public IP address can only be assigned to a network
interface for eth0, and can only be assigned to a new network
interface, not an existing one. You cannot specify more than one
network interface in the request. If launching into a default subnet,
the default value is true.

Returns a reference to this object so that method calls can be chained together.

Parameters:

associatePublicIpAddress - Indicates whether to assign a public IP address to instances launched
in a VPC. The public IP address can only be assigned to a network
interface for eth0, and can only be assigned to a new network
interface, not an existing one. You cannot specify more than one
network interface in the request. If launching into a default subnet,
the default value is true.

Returns:

A reference to this updated object so that method calls can be chained
together.

getAssociatePublicIpAddress

public java.lang.Boolean getAssociatePublicIpAddress()

Indicates whether to assign a public IP address to instances launched
in a VPC. The public IP address can only be assigned to a network
interface for eth0, and can only be assigned to a new network
interface, not an existing one. You cannot specify more than one
network interface in the request. If launching into a default subnet,
the default value is true.

Returns:

Indicates whether to assign a public IP address to instances launched
in a VPC. The public IP address can only be assigned to a network
interface for eth0, and can only be assigned to a new network
interface, not an existing one. You cannot specify more than one
network interface in the request. If launching into a default subnet,
the default value is true.