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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Indicates whether this is a primary IP address.The IP address.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withPrimary
(Boolean primary) Indicates whether this is a primary IP address.withPrivateIpAddress
(String privateIpAddress) The IP address.
-
Constructor Details
-
ScheduledInstancesPrivateIpAddressConfig
public ScheduledInstancesPrivateIpAddressConfig()
-
-
Method Details
-
setPrivateIpAddress
The IP address.
- Parameters:
privateIpAddress
- The IP address.
-
getPrivateIpAddress
The IP address.
- Returns:
- The IP address.
-
withPrivateIpAddress
The IP address.
- Parameters:
privateIpAddress
- The IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPrimary
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-