Class PlacementType

    • Constructor Detail

      • 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 Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object