Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class DescribeServiceErrorsRequest

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

public class DescribeServiceErrorsRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeServiceErrors operation.

Describes OpsWorks service errors.

See Also:
AWSOpsWorks.describeServiceErrors(DescribeServiceErrorsRequest), Serialized Form

Constructor Summary
DescribeServiceErrorsRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getInstanceId()
          The instance ID.
 List<String> getServiceErrorIds()
          An array of service error IDs.
 String getStackId()
          The stack ID.
 int hashCode()
           
 void setInstanceId(String instanceId)
          The instance ID.
 void setServiceErrorIds(Collection<String> serviceErrorIds)
          An array of service error IDs.
 void setStackId(String stackId)
          The stack ID.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeServiceErrorsRequest withInstanceId(String instanceId)
          The instance ID.
 DescribeServiceErrorsRequest withServiceErrorIds(Collection<String> serviceErrorIds)
          An array of service error IDs.
 DescribeServiceErrorsRequest withServiceErrorIds(String... serviceErrorIds)
          An array of service error IDs.
 DescribeServiceErrorsRequest withStackId(String stackId)
          The stack ID.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeServiceErrorsRequest

public DescribeServiceErrorsRequest()
Method Detail

getStackId

public String getStackId()
The stack ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified stack.

Returns:
The stack ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified stack.

setStackId

public void setStackId(String stackId)
The stack ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified stack.

Parameters:
stackId - The stack ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified stack.

withStackId

public DescribeServiceErrorsRequest withStackId(String stackId)
The stack ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified stack.

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

Parameters:
stackId - The stack ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified stack.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceId

public String getInstanceId()
The instance ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified instance.

Returns:
The instance ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified instance.

setInstanceId

public void setInstanceId(String instanceId)
The instance ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified instance.

Parameters:
instanceId - The instance ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified instance.

withInstanceId

public DescribeServiceErrorsRequest withInstanceId(String instanceId)
The instance ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified instance.

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

Parameters:
instanceId - The instance ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getServiceErrorIds

public List<String> getServiceErrorIds()
An array of service error IDs. If you use this parameter, DescribeServiceErrors returns descriptions of the specified errors. Otherwise, it returns a description of every error.

Returns:
An array of service error IDs. If you use this parameter, DescribeServiceErrors returns descriptions of the specified errors. Otherwise, it returns a description of every error.

setServiceErrorIds

public void setServiceErrorIds(Collection<String> serviceErrorIds)
An array of service error IDs. If you use this parameter, DescribeServiceErrors returns descriptions of the specified errors. Otherwise, it returns a description of every error.

Parameters:
serviceErrorIds - An array of service error IDs. If you use this parameter, DescribeServiceErrors returns descriptions of the specified errors. Otherwise, it returns a description of every error.

withServiceErrorIds

public DescribeServiceErrorsRequest withServiceErrorIds(String... serviceErrorIds)
An array of service error IDs. If you use this parameter, DescribeServiceErrors returns descriptions of the specified errors. Otherwise, it returns a description of every error.

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

Parameters:
serviceErrorIds - An array of service error IDs. If you use this parameter, DescribeServiceErrors returns descriptions of the specified errors. Otherwise, it returns a description of every error.
Returns:
A reference to this updated object so that method calls can be chained together.

withServiceErrorIds

public DescribeServiceErrorsRequest withServiceErrorIds(Collection<String> serviceErrorIds)
An array of service error IDs. If you use this parameter, DescribeServiceErrors returns descriptions of the specified errors. Otherwise, it returns a description of every error.

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

Parameters:
serviceErrorIds - An array of service error IDs. If you use this parameter, DescribeServiceErrors returns descriptions of the specified errors. Otherwise, it returns a description of every error.
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.