|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.ec2.model.InstanceNetworkInterfaceSpecification
public class InstanceNetworkInterfaceSpecification
Instance Network Interface Specification
| Constructor Summary | |
|---|---|
InstanceNetworkInterfaceSpecification()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Boolean |
getAssociatePublicIpAddress()
Indicates whether to assign a public IP address to an instance in a VPC. |
Boolean |
getDeleteOnTermination()
Returns the value of the DeleteOnTermination property for this object. |
String |
getDescription()
A description. |
Integer |
getDeviceIndex()
The device index. |
List<String> |
getGroups()
Returns the value of the Groups property for this object. |
String |
getNetworkInterfaceId()
An existing interface to attach to a single instance. |
String |
getPrivateIpAddress()
The primary private IP address. |
List<PrivateIpAddressSpecification> |
getPrivateIpAddresses()
Returns the value of the PrivateIpAddresses property for this object. |
Integer |
getSecondaryPrivateIpAddressCount()
Returns the value of the SecondaryPrivateIpAddressCount property for this object. |
String |
getSubnetId()
The subnet ID. |
int |
hashCode()
|
Boolean |
isAssociatePublicIpAddress()
Indicates whether to assign a public IP address to an instance in a VPC. |
Boolean |
isDeleteOnTermination()
Returns the value of the DeleteOnTermination property for this object. |
void |
setAssociatePublicIpAddress(Boolean associatePublicIpAddress)
Indicates whether to assign a public IP address to an instance in a VPC. |
void |
setDeleteOnTermination(Boolean deleteOnTermination)
Sets the value of the DeleteOnTermination property for this object. |
void |
setDescription(String description)
A description. |
void |
setDeviceIndex(Integer deviceIndex)
The device index. |
void |
setGroups(Collection<String> groups)
Sets the value of the Groups property for this object. |
void |
setNetworkInterfaceId(String networkInterfaceId)
An existing interface to attach to a single instance. |
void |
setPrivateIpAddress(String privateIpAddress)
The primary private IP address. |
void |
setPrivateIpAddresses(Collection<PrivateIpAddressSpecification> privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object. |
void |
setSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
Sets the value of the SecondaryPrivateIpAddressCount property for this object. |
void |
setSubnetId(String subnetId)
The subnet ID. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceNetworkInterfaceSpecification |
withAssociatePublicIpAddress(Boolean associatePublicIpAddress)
Indicates whether to assign a public IP address to an instance in a VPC. |
InstanceNetworkInterfaceSpecification |
withDeleteOnTermination(Boolean deleteOnTermination)
Sets the value of the DeleteOnTermination property for this object. |
InstanceNetworkInterfaceSpecification |
withDescription(String description)
A description. |
InstanceNetworkInterfaceSpecification |
withDeviceIndex(Integer deviceIndex)
The device index. |
InstanceNetworkInterfaceSpecification |
withGroups(Collection<String> groups)
Sets the value of the Groups property for this object. |
InstanceNetworkInterfaceSpecification |
withGroups(String... groups)
Sets the value of the Groups property for this object. |
InstanceNetworkInterfaceSpecification |
withNetworkInterfaceId(String networkInterfaceId)
An existing interface to attach to a single instance. |
InstanceNetworkInterfaceSpecification |
withPrivateIpAddress(String privateIpAddress)
The primary private IP address. |
InstanceNetworkInterfaceSpecification |
withPrivateIpAddresses(Collection<PrivateIpAddressSpecification> privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object. |
InstanceNetworkInterfaceSpecification |
withPrivateIpAddresses(PrivateIpAddressSpecification... privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object. |
InstanceNetworkInterfaceSpecification |
withSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
Sets the value of the SecondaryPrivateIpAddressCount property for this object. |
InstanceNetworkInterfaceSpecification |
withSubnetId(String subnetId)
The subnet ID. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InstanceNetworkInterfaceSpecification()
| Method Detail |
|---|
public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String networkInterfaceId)
networkInterfaceId - An existing interface to attach to a single instance. Requires n=1
instances.public InstanceNetworkInterfaceSpecification withNetworkInterfaceId(String networkInterfaceId)
Returns a reference to this object so that method calls can be chained together.
networkInterfaceId - An existing interface to attach to a single instance. Requires n=1
instances.
public Integer getDeviceIndex()
Condition: If you are specifying a network interface in the request, you must provide the device index.
Condition: If you are specifying a network interface in the request, you must provide the device index.
public void setDeviceIndex(Integer deviceIndex)
Condition: If you are specifying a network interface in the request, you must provide the device index.
deviceIndex - The device index. Applies to both attaching an existing network
interface and when creating a network interface. Condition: If you are specifying a network interface in the request, you must provide the device index.
public InstanceNetworkInterfaceSpecification withDeviceIndex(Integer deviceIndex)
Condition: If you are specifying a network interface in the request, you must provide the device index.
Returns a reference to this object so that method calls can be chained together.
deviceIndex - The device index. Applies to both attaching an existing network
interface and when creating a network interface. Condition: If you are specifying a network interface in the request, you must provide the device index.
public String getSubnetId()
public void setSubnetId(String subnetId)
subnetId - The subnet ID. Applies only when creating a network interface.public InstanceNetworkInterfaceSpecification withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId - The subnet ID. Applies only when creating a network interface.
public String getDescription()
public void setDescription(String description)
description - A description. Applies only when creating a network interface.public InstanceNetworkInterfaceSpecification withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description - A description. Applies only when creating a network interface.
public String getPrivateIpAddress()
public void setPrivateIpAddress(String privateIpAddress)
privateIpAddress - The primary private IP address. Applies only when creating a network
interface. Requires n=1 network interfaces in launch. public InstanceNetworkInterfaceSpecification withPrivateIpAddress(String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress - The primary private IP address. Applies only when creating a network
interface. Requires n=1 network interfaces in launch.
public List<String> getGroups()
public void setGroups(Collection<String> groups)
groups - The new value for the Groups property for this object.public InstanceNetworkInterfaceSpecification withGroups(String... groups)
Returns a reference to this object so that method calls can be chained together.
groups - The new value for the Groups property for this object.
public InstanceNetworkInterfaceSpecification withGroups(Collection<String> groups)
Returns a reference to this object so that method calls can be chained together.
groups - The new value for the Groups property for this object.
public Boolean isDeleteOnTermination()
public void setDeleteOnTermination(Boolean deleteOnTermination)
deleteOnTermination - The new value for the DeleteOnTermination property for this object.public InstanceNetworkInterfaceSpecification withDeleteOnTermination(Boolean deleteOnTermination)
Returns a reference to this object so that method calls can be chained together.
deleteOnTermination - The new value for the DeleteOnTermination property for this object.
public Boolean getDeleteOnTermination()
public List<PrivateIpAddressSpecification> getPrivateIpAddresses()
public void setPrivateIpAddresses(Collection<PrivateIpAddressSpecification> privateIpAddresses)
privateIpAddresses - The new value for the PrivateIpAddresses property for this object.public InstanceNetworkInterfaceSpecification withPrivateIpAddresses(PrivateIpAddressSpecification... privateIpAddresses)
Returns a reference to this object so that method calls can be chained together.
privateIpAddresses - The new value for the PrivateIpAddresses property for this object.
public InstanceNetworkInterfaceSpecification withPrivateIpAddresses(Collection<PrivateIpAddressSpecification> privateIpAddresses)
Returns a reference to this object so that method calls can be chained together.
privateIpAddresses - The new value for the PrivateIpAddresses property for this object.
public Integer getSecondaryPrivateIpAddressCount()
public void setSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
secondaryPrivateIpAddressCount - The new value for the SecondaryPrivateIpAddressCount property for this
object.public InstanceNetworkInterfaceSpecification withSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
Returns a reference to this object so that method calls can be chained together.
secondaryPrivateIpAddressCount - The new value for the SecondaryPrivateIpAddressCount property for this
object.
public Boolean isAssociatePublicIpAddress()
true, the following rules apply:
Can only be associated with a single network interface with the device index of 0. You can't associate a public IP address with a second network interface, and you can't associate a public IP address if you are launching more than one network interface.
Can only be associated with a new network interface, not an existing one.
Default: If launching into a default
subnet, the default value is true. If launching into a
nondefault subnet, the default value is false.
true, the following rules apply:
Can only be associated with a single network interface with the device index of 0. You can't associate a public IP address with a second network interface, and you can't associate a public IP address if you are launching more than one network interface.
Can only be associated with a new network interface, not an existing one.
Default: If launching into a default
subnet, the default value is true. If launching into a
nondefault subnet, the default value is false.
public void setAssociatePublicIpAddress(Boolean associatePublicIpAddress)
true, the following rules apply:
Can only be associated with a single network interface with the device index of 0. You can't associate a public IP address with a second network interface, and you can't associate a public IP address if you are launching more than one network interface.
Can only be associated with a new network interface, not an existing one.
Default: If launching into a default
subnet, the default value is true. If launching into a
nondefault subnet, the default value is false.
associatePublicIpAddress - Indicates whether to assign a public IP address to an instance in a
VPC. The public IP address is associated with a specific network
interface. If set to true, the following rules apply:
Can only be associated with a single network interface with the device index of 0. You can't associate a public IP address with a second network interface, and you can't associate a public IP address if you are launching more than one network interface.
Can only be associated with a new network interface, not an existing one.
Default: If launching into a default
subnet, the default value is true. If launching into a
nondefault subnet, the default value is false.
public InstanceNetworkInterfaceSpecification withAssociatePublicIpAddress(Boolean associatePublicIpAddress)
true, the following rules apply:
Can only be associated with a single network interface with the device index of 0. You can't associate a public IP address with a second network interface, and you can't associate a public IP address if you are launching more than one network interface.
Can only be associated with a new network interface, not an existing one.
Default: If launching into a default
subnet, the default value is true. If launching into a
nondefault subnet, the default value is false.
Returns a reference to this object so that method calls can be chained together.
associatePublicIpAddress - Indicates whether to assign a public IP address to an instance in a
VPC. The public IP address is associated with a specific network
interface. If set to true, the following rules apply:
Can only be associated with a single network interface with the device index of 0. You can't associate a public IP address with a second network interface, and you can't associate a public IP address if you are launching more than one network interface.
Can only be associated with a new network interface, not an existing one.
Default: If launching into a default
subnet, the default value is true. If launching into a
nondefault subnet, the default value is false.
public Boolean getAssociatePublicIpAddress()
true, the following rules apply:
Can only be associated with a single network interface with the device index of 0. You can't associate a public IP address with a second network interface, and you can't associate a public IP address if you are launching more than one network interface.
Can only be associated with a new network interface, not an existing one.
Default: If launching into a default
subnet, the default value is true. If launching into a
nondefault subnet, the default value is false.
true, the following rules apply:
Can only be associated with a single network interface with the device index of 0. You can't associate a public IP address with a second network interface, and you can't associate a public IP address if you are launching more than one network interface.
Can only be associated with a new network interface, not an existing one.
Default: If launching into a default
subnet, the default value is true. If launching into a
nondefault subnet, the default value is false.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||