@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FleetError extends Object implements Serializable, Cloneable, StructuredPojo
The details of the fleet error.
Constructor and Description |
---|
FleetError() |
Modifier and Type | Method and Description |
---|---|
FleetError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code for the fleet error.
|
String |
getErrorMessage()
The error message generated when the fleet has errors.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(FleetErrorCode errorCode)
The error code for the fleet error.
|
void |
setErrorCode(String errorCode)
The error code for the fleet error.
|
void |
setErrorMessage(String errorMessage)
The error message generated when the fleet has errors.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FleetError |
withErrorCode(FleetErrorCode errorCode)
The error code for the fleet error.
|
FleetError |
withErrorCode(String errorCode)
The error code for the fleet error.
|
FleetError |
withErrorMessage(String errorMessage)
The error message generated when the fleet has errors.
|
public void setErrorCode(String errorCode)
The error code for the fleet error.
errorCode
- The error code for the fleet error.FleetErrorCode
public String getErrorCode()
The error code for the fleet error.
FleetErrorCode
public FleetError withErrorCode(String errorCode)
The error code for the fleet error.
errorCode
- The error code for the fleet error.FleetErrorCode
public void setErrorCode(FleetErrorCode errorCode)
The error code for the fleet error.
errorCode
- The error code for the fleet error.FleetErrorCode
public FleetError withErrorCode(FleetErrorCode errorCode)
The error code for the fleet error.
errorCode
- The error code for the fleet error.FleetErrorCode
public void setErrorMessage(String errorMessage)
The error message generated when the fleet has errors.
errorMessage
- The error message generated when the fleet has errors.public String getErrorMessage()
The error message generated when the fleet has errors.
public FleetError withErrorMessage(String errorMessage)
The error message generated when the fleet has errors.
errorMessage
- The error message generated when the fleet has errors.public String toString()
toString
in class Object
Object.toString()
public FleetError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.