@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RouteStatus extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the current status of a route.
Constructor and Description |
---|
RouteStatus() |
Modifier and Type | Method and Description |
---|---|
RouteStatus |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The current status for the route.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatus(String status)
The current status for the route.
|
String |
toString()
Returns a string representation of this object.
|
RouteStatus |
withStatus(RouteStatusCode status)
The current status for the route.
|
RouteStatus |
withStatus(String status)
The current status for the route.
|
public void setStatus(String status)
The current status for the route.
status
- The current status for the route.RouteStatusCode
public String getStatus()
The current status for the route.
RouteStatusCode
public RouteStatus withStatus(String status)
The current status for the route.
status
- The current status for the route.RouteStatusCode
public RouteStatus withStatus(RouteStatusCode status)
The current status for the route.
status
- The current status for the route.RouteStatusCode
public String toString()
toString
in class Object
Object.toString()
public RouteStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.