Class ServiceError
java.lang.Object
com.amazonaws.services.opsworks.model.ServiceError
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an AWS OpsWorks service error.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
When the error occurred.The instance ID.A message that describes the error.The error ID.The stack ID.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
The error type.toString()
Returns a string representation of this object; useful for testing and debugging.withCreatedAt
(String createdAt) When the error occurred.withInstanceId
(String instanceId) The instance ID.withMessage
(String message) A message that describes the error.withServiceErrorId
(String serviceErrorId) The error ID.withStackId
(String stackId) The stack ID.The error type.
-
Constructor Details
-
ServiceError
public ServiceError()
-
-
Method Details
-
setServiceErrorId
The error ID.
- Parameters:
serviceErrorId
- The error ID.
-
getServiceErrorId
The error ID.
- Returns:
- The error ID.
-
withServiceErrorId
The error ID.
- Parameters:
serviceErrorId
- The error ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStackId
The stack ID.
- Parameters:
stackId
- The stack ID.
-
getStackId
The stack ID.
- Returns:
- The stack ID.
-
withStackId
The stack ID.
- Parameters:
stackId
- The stack ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceId
The instance ID.
- Parameters:
instanceId
- The instance ID.
-
getInstanceId
The instance ID.
- Returns:
- The instance ID.
-
withInstanceId
The instance ID.
- Parameters:
instanceId
- The instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setType
The error type.
- Parameters:
type
- The error type.
-
getType
The error type.
- Returns:
- The error type.
-
withType
The error type.
- Parameters:
type
- The error type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
A message that describes the error.
- Parameters:
message
- A message that describes the error.
-
getMessage
A message that describes the error.
- Returns:
- A message that describes the error.
-
withMessage
A message that describes the error.
- Parameters:
message
- A message that describes the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedAt
When the error occurred.
- Parameters:
createdAt
- When the error occurred.
-
getCreatedAt
When the error occurred.
- Returns:
- When the error occurred.
-
withCreatedAt
When the error occurred.
- Parameters:
createdAt
- When the error occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-