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 Details

    • ScheduledInstancesPrivateIpAddressConfig

      public ScheduledInstancesPrivateIpAddressConfig()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object