com.amazonaws.services.elasticmapreduce.model
Class PlacementType

java.lang.Object
  extended by com.amazonaws.services.elasticmapreduce.model.PlacementType

public class PlacementType
extends Object

Specifies the Amazon EC2 location for the job flow.


Constructor Summary
PlacementType()
          Default constructor for a new PlacementType object.
PlacementType(String availabilityZone)
          Constructs a new PlacementType object.
 
Method Summary
 String getAvailabilityZone()
          The Amazon EC2 Availability Zone for the job flow.
 void setAvailabilityZone(String availabilityZone)
          The Amazon EC2 Availability Zone for the job flow.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 PlacementType withAvailabilityZone(String availabilityZone)
          The Amazon EC2 Availability Zone for the job flow.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlacementType

public PlacementType()
Default constructor for a new PlacementType object. Callers should use the setter or fluent setter (with...) methods to initialize this 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

getAvailabilityZone

public String getAvailabilityZone()
The Amazon EC2 Availability Zone for the job flow.

Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*

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

setAvailabilityZone

public void setAvailabilityZone(String availabilityZone)
The Amazon EC2 Availability Zone for the job flow.

Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*

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

withAvailabilityZone

public PlacementType withAvailabilityZone(String availabilityZone)
The Amazon EC2 Availability Zone for the job flow.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*

Parameters:
availabilityZone - The Amazon EC2 Availability Zone for the job flow.
Returns:
A reference to this updated 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()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.