@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceError extends Object implements Serializable, Cloneable, StructuredPojo
Describes an AWS OpsWorks Stacks service error.
Constructor and Description |
---|
ServiceError() |
Modifier and Type | Method and Description |
---|---|
ServiceError |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 void setServiceErrorId(String serviceErrorId)
The error ID.
serviceErrorId
- The error ID.public String getServiceErrorId()
The error ID.
public ServiceError withServiceErrorId(String serviceErrorId)
The error ID.
serviceErrorId
- The error ID.public void setStackId(String stackId)
The stack ID.
stackId
- The stack ID.public String getStackId()
The stack ID.
public ServiceError withStackId(String stackId)
The stack ID.
stackId
- The stack ID.public void setInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public String getInstanceId()
The instance ID.
public ServiceError withInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public void setType(String type)
The error type.
type
- The error type.public String getType()
The error type.
public ServiceError withType(String type)
The error type.
type
- The error type.public void setMessage(String message)
A message that describes the error.
message
- A message that describes the error.public String getMessage()
A message that describes the error.
public ServiceError withMessage(String message)
A message that describes the error.
message
- A message that describes the error.public void setCreatedAt(String createdAt)
When the error occurred.
createdAt
- When the error occurred.public String getCreatedAt()
When the error occurred.
public ServiceError withCreatedAt(String createdAt)
When the error occurred.
createdAt
- When the error occurred.public String toString()
toString
in class Object
Object.toString()
public ServiceError 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.