Package com.amazonaws.services.ec2.model
Class AvailabilityZoneMessage
- java.lang.Object
-
- com.amazonaws.services.ec2.model.AvailabilityZoneMessage
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class AvailabilityZoneMessage extends Object implements Serializable, Cloneable
Describes a message about an Availability Zone.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AvailabilityZoneMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AvailabilityZoneMessage
clone()
boolean
equals(Object obj)
String
getMessage()
The message about the Availability Zone.int
hashCode()
void
setMessage(String message)
The message about the Availability Zone.String
toString()
Returns a string representation of this object; useful for testing and debugging.AvailabilityZoneMessage
withMessage(String message)
The message about the Availability Zone.
-
-
-
Method Detail
-
setMessage
public void setMessage(String message)
The message about the Availability Zone.
- Parameters:
message
- The message about the Availability Zone.
-
getMessage
public String getMessage()
The message about the Availability Zone.
- Returns:
- The message about the Availability Zone.
-
withMessage
public AvailabilityZoneMessage withMessage(String message)
The message about the Availability Zone.
- Parameters:
message
- The message about the Availability Zone.- 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AvailabilityZoneMessage clone()
-
-