public class ServiceError extends Object implements Serializable
Describes an AWS OpsWorks service error.
Constructor and Description |
---|
ServiceError() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCreatedAt()
When the error occurred.
|
String |
getInstanceId()
The instance ID.
|
String |
getMessage()
A message that describes the error.
|
String |
getServiceErrorId()
The error ID.
|
String |
getStackId()
The stack ID.
|
String |
getType()
The error type.
|
int |
hashCode() |
void |
setCreatedAt(String createdAt)
When the error occurred.
|
void |
setInstanceId(String instanceId)
The instance ID.
|
void |
setMessage(String message)
A message that describes the error.
|
void |
setServiceErrorId(String serviceErrorId)
The error ID.
|
void |
setStackId(String stackId)
The stack ID.
|
void |
setType(String type)
The error type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ServiceError |
withCreatedAt(String createdAt)
When the error occurred.
|
ServiceError |
withInstanceId(String instanceId)
The instance ID.
|
ServiceError |
withMessage(String message)
A message that describes the error.
|
ServiceError |
withServiceErrorId(String serviceErrorId)
The error ID.
|
ServiceError |
withStackId(String stackId)
The stack ID.
|
ServiceError |
withType(String type)
The error type.
|
public String getServiceErrorId()
public void setServiceErrorId(String serviceErrorId)
serviceErrorId
- The error ID.public ServiceError withServiceErrorId(String serviceErrorId)
Returns a reference to this object so that method calls can be chained together.
serviceErrorId
- The error ID.public String getStackId()
public void setStackId(String stackId)
stackId
- The stack ID.public ServiceError withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- The stack ID.public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The instance ID.public ServiceError withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The instance ID.public String getType()
public void setType(String type)
type
- The error type.public ServiceError withType(String type)
Returns a reference to this object so that method calls can be chained together.
type
- The error type.public String getMessage()
public void setMessage(String message)
message
- A message that describes the error.public ServiceError withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message
- A message that describes the error.public String getCreatedAt()
public void setCreatedAt(String createdAt)
createdAt
- When the error occurred.public ServiceError withCreatedAt(String createdAt)
Returns a reference to this object so that method calls can be chained together.
createdAt
- When the error occurred.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.