@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LastError extends Object implements Serializable, Cloneable
The last error that occurred for a VPC endpoint.
Constructor and Description |
---|
LastError() |
Modifier and Type | Method and Description |
---|---|
LastError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code for the VPC endpoint error.
|
String |
getMessage()
The error message for the VPC endpoint error.
|
int |
hashCode() |
void |
setCode(String code)
The error code for the VPC endpoint error.
|
void |
setMessage(String message)
The error message for the VPC endpoint error.
|
String |
toString()
Returns a string representation of this object.
|
LastError |
withCode(String code)
The error code for the VPC endpoint error.
|
LastError |
withMessage(String message)
The error message for the VPC endpoint error.
|
public void setMessage(String message)
The error message for the VPC endpoint error.
message
- The error message for the VPC endpoint error.public String getMessage()
The error message for the VPC endpoint error.
public LastError withMessage(String message)
The error message for the VPC endpoint error.
message
- The error message for the VPC endpoint error.public void setCode(String code)
The error code for the VPC endpoint error.
code
- The error code for the VPC endpoint error.public String getCode()
The error code for the VPC endpoint error.
public LastError withCode(String code)
The error code for the VPC endpoint error.
code
- The error code for the VPC endpoint error.public String toString()
toString
in class Object
Object.toString()