Class ScheduledInstancesPlacement

java.lang.Object
com.amazonaws.services.ec2.model.ScheduledInstancesPlacement
All Implemented Interfaces:
Serializable, Cloneable

public class ScheduledInstancesPlacement extends Object implements Serializable, Cloneable

Describes the placement for a Scheduled Instance.

See Also:
  • Constructor Details

    • ScheduledInstancesPlacement

      public ScheduledInstancesPlacement()
  • Method Details

    • setAvailabilityZone

      public void setAvailabilityZone(String availabilityZone)

      The Availability Zone.

      Parameters:
      availabilityZone - The Availability Zone.
    • getAvailabilityZone

      public String getAvailabilityZone()

      The Availability Zone.

      Returns:
      The Availability Zone.
    • withAvailabilityZone

      public ScheduledInstancesPlacement withAvailabilityZone(String availabilityZone)

      The Availability Zone.

      Parameters:
      availabilityZone - The Availability Zone.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setGroupName

      public void setGroupName(String groupName)

      The name of the placement group.

      Parameters:
      groupName - The name of the placement group.
    • getGroupName

      public String getGroupName()

      The name of the placement group.

      Returns:
      The name of the placement group.
    • withGroupName

      public ScheduledInstancesPlacement withGroupName(String groupName)

      The name of the placement group.

      Parameters:
      groupName - The name of the placement group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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