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()booleanIndicates whether this is a primary IP address.The IP address.inthashCode()Indicates whether this is a primary IP address.voidsetPrimary(Boolean primary) Indicates whether this is a primary IP address.voidsetPrivateIpAddress(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
-
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
-
equals
-
hashCode
-
clone
-