Package com.amazonaws.services.ec2.model
Class ScheduledInstancesPrivateIpAddressConfig
- java.lang.Object
-
- com.amazonaws.services.ec2.model.ScheduledInstancesPrivateIpAddressConfig
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ScheduledInstancesPrivateIpAddressConfig extends Object implements Serializable, Cloneable
Describes a private IP address for a Scheduled Instance.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScheduledInstancesPrivateIpAddressConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduledInstancesPrivateIpAddressConfig
clone()
boolean
equals(Object obj)
Boolean
getPrimary()
Indicates whether this is a primary IP address.String
getPrivateIpAddress()
The IP address.int
hashCode()
Boolean
isPrimary()
Indicates whether this is a primary IP address.void
setPrimary(Boolean primary)
Indicates whether this is a primary IP address.void
setPrivateIpAddress(String privateIpAddress)
The IP address.String
toString()
Returns a string representation of this object; useful for testing and debugging.ScheduledInstancesPrivateIpAddressConfig
withPrimary(Boolean primary)
Indicates whether this is a primary IP address.ScheduledInstancesPrivateIpAddressConfig
withPrivateIpAddress(String privateIpAddress)
The IP address.
-
-
-
Method Detail
-
setPrivateIpAddress
public void setPrivateIpAddress(String privateIpAddress)
The IP address.
- Parameters:
privateIpAddress
- The IP address.
-
getPrivateIpAddress
public String getPrivateIpAddress()
The IP address.
- Returns:
- The IP address.
-
withPrivateIpAddress
public ScheduledInstancesPrivateIpAddressConfig withPrivateIpAddress(String privateIpAddress)
The IP address.
- Parameters:
privateIpAddress
- The IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPrimary
public void setPrimary(Boolean primary)
Indicates whether this is a primary IP address. Otherwise, this is a secondary IP address.
- Parameters:
primary
- Indicates whether this is a primary IP address. Otherwise, this is a secondary IP address.
-
getPrimary
public Boolean getPrimary()
Indicates whether this is a primary IP address. Otherwise, this is a secondary IP address.
- Returns:
- Indicates whether this is a primary IP address. Otherwise, this is a secondary IP address.
-
withPrimary
public ScheduledInstancesPrivateIpAddressConfig withPrimary(Boolean primary)
Indicates whether this is a primary IP address. Otherwise, this is a secondary IP address.
- Parameters:
primary
- Indicates whether this is a primary IP address. Otherwise, this is a secondary IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPrimary
public Boolean isPrimary()
Indicates whether this is a primary IP address. Otherwise, this is a secondary IP address.
- Returns:
- Indicates whether this is a primary IP address. Otherwise, this is a secondary IP address.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ScheduledInstancesPrivateIpAddressConfig clone()
-
-