Class PlacementType

java.lang.Object
com.amazonaws.services.elasticmapreduce.model.PlacementType
All Implemented Interfaces:
Serializable, Cloneable

public class PlacementType extends Object implements Serializable, Cloneable

The Amazon EC2 location for the job flow.

See Also:
  • Constructor Details

    • PlacementType

      public PlacementType()
      Default constructor for PlacementType object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
    • PlacementType

      public PlacementType(String availabilityZone)
      Constructs a new PlacementType object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      Parameters:
      availabilityZone - The Amazon EC2 Availability Zone for the job flow.
  • Method Details

    • setAvailabilityZone

      public void setAvailabilityZone(String availabilityZone)

      The Amazon EC2 Availability Zone for the job flow.

      Parameters:
      availabilityZone - The Amazon EC2 Availability Zone for the job flow.
    • getAvailabilityZone

      public String getAvailabilityZone()

      The Amazon EC2 Availability Zone for the job flow.

      Returns:
      The Amazon EC2 Availability Zone for the job flow.
    • withAvailabilityZone

      public PlacementType withAvailabilityZone(String availabilityZone)

      The Amazon EC2 Availability Zone for the job flow.

      Parameters:
      availabilityZone - The Amazon EC2 Availability Zone for the job flow.
      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

      public PlacementType clone()
      Overrides:
      clone in class Object