Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class ServiceError

java.lang.Object
  extended by com.amazonaws.services.opsworks.model.ServiceError
All Implemented Interfaces:
Serializable

public class ServiceError
extends Object
implements Serializable

Describes an OpsWorks service error.

See Also:
Serialized Form

Constructor Summary
ServiceError()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceError

public ServiceError()
Method Detail

getServiceErrorId

public String getServiceErrorId()
The error ID.

Returns:
The error ID.

setServiceErrorId

public void setServiceErrorId(String serviceErrorId)
The error ID.

Parameters:
serviceErrorId - The error ID.

withServiceErrorId

public ServiceError withServiceErrorId(String serviceErrorId)
The error ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
serviceErrorId - The error ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getStackId

public String getStackId()
The stack ID.

Returns:
The stack ID.

setStackId

public void setStackId(String stackId)
The stack ID.

Parameters:
stackId - The stack ID.

withStackId

public ServiceError withStackId(String stackId)
The stack ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stackId - The stack ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceId

public String getInstanceId()
The instance ID.

Returns:
The instance ID.

setInstanceId

public void setInstanceId(String instanceId)
The instance ID.

Parameters:
instanceId - The instance ID.

withInstanceId

public ServiceError withInstanceId(String instanceId)
The instance ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceId - The instance ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getType

public String getType()
The error type.

Returns:
The error type.

setType

public void setType(String type)
The error type.

Parameters:
type - The error type.

withType

public ServiceError withType(String type)
The error type.

Returns a reference to this object so that method calls can be chained together.

Parameters:
type - The error type.
Returns:
A reference to this updated object so that method calls can be chained together.

getMessage

public String getMessage()
A message that describes the error.

Returns:
A message that describes the error.

setMessage

public void setMessage(String message)
A message that describes the error.

Parameters:
message - A message that describes the error.

withMessage

public ServiceError withMessage(String message)
A message that describes the error.

Returns a reference to this object so that method calls can be chained together.

Parameters:
message - A message that describes the error.
Returns:
A reference to this updated object so that method calls can be chained together.

getCreatedAt

public String getCreatedAt()
When the error occurred.

Returns:
When the error occurred.

setCreatedAt

public void setCreatedAt(String createdAt)
When the error occurred.

Parameters:
createdAt - When the error occurred.

withCreatedAt

public ServiceError withCreatedAt(String createdAt)
When the error occurred.

Returns a reference to this object so that method calls can be chained together.

Parameters:
createdAt - When the error occurred.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.