Class PlacementType
java.lang.Object
com.amazonaws.services.elasticmapreduce.model.PlacementType
- All Implemented Interfaces:
Serializable
,Cloneable
The Amazon EC2 location for the job flow.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for PlacementType object.PlacementType
(String availabilityZone) Constructs a new PlacementType object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The Amazon EC2 Availability Zone for the job flow.int
hashCode()
void
setAvailabilityZone
(String availabilityZone) The Amazon EC2 Availability Zone for the job flow.toString()
Returns a string representation of this object; useful for testing and debugging.withAvailabilityZone
(String availabilityZone) The Amazon EC2 Availability Zone for the job flow.
-
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
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
The Amazon EC2 Availability Zone for the job flow.
- Parameters:
availabilityZone
- The Amazon EC2 Availability Zone for the job flow.
-
getAvailabilityZone
The Amazon EC2 Availability Zone for the job flow.
- Returns:
- The Amazon EC2 Availability Zone for the job flow.
-
withAvailabilityZone
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-