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:
java.io.Serializable

public class DescribeServiceErrorsRequest
extends AmazonWebServiceRequest
implements java.io.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(java.lang.Object obj)
           
 java.lang.String getInstanceId()
          The instance ID.
 java.util.List<java.lang.String> getServiceErrorIds()
          An array of service error IDs to be described.
 java.lang.String getStackId()
          The stack ID.
 int hashCode()
           
 void setInstanceId(java.lang.String instanceId)
          The instance ID.
 void setServiceErrorIds(java.util.Collection<java.lang.String> serviceErrorIds)
          An array of service error IDs to be described.
 void setStackId(java.lang.String stackId)
          The stack ID.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeServiceErrorsRequest withInstanceId(java.lang.String instanceId)
          The instance ID.
 DescribeServiceErrorsRequest withServiceErrorIds(java.util.Collection<java.lang.String> serviceErrorIds)
          An array of service error IDs to be described.
 DescribeServiceErrorsRequest withServiceErrorIds(java.lang.String... serviceErrorIds)
          An array of service error IDs to be described.
 DescribeServiceErrorsRequest withStackId(java.lang.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 java.lang.String getStackId()
The stack ID.

Returns:
The stack ID.

setStackId

public void setStackId(java.lang.String stackId)
The stack ID.

Parameters:
stackId - The stack ID.

withStackId

public DescribeServiceErrorsRequest withStackId(java.lang.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 java.lang.String getInstanceId()
The instance ID.

Returns:
The instance ID.

setInstanceId

public void setInstanceId(java.lang.String instanceId)
The instance ID.

Parameters:
instanceId - The instance ID.

withInstanceId

public DescribeServiceErrorsRequest withInstanceId(java.lang.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.

getServiceErrorIds

public java.util.List<java.lang.String> getServiceErrorIds()
An array of service error IDs to be described.

Returns:
An array of service error IDs to be described.

setServiceErrorIds

public void setServiceErrorIds(java.util.Collection<java.lang.String> serviceErrorIds)
An array of service error IDs to be described.

Parameters:
serviceErrorIds - An array of service error IDs to be described.

withServiceErrorIds

public DescribeServiceErrorsRequest withServiceErrorIds(java.lang.String... serviceErrorIds)
An array of service error IDs to be described.

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

Parameters:
serviceErrorIds - An array of service error IDs to be described.
Returns:
A reference to this updated object so that method calls can be chained together.

withServiceErrorIds

public DescribeServiceErrorsRequest withServiceErrorIds(java.util.Collection<java.lang.String> serviceErrorIds)
An array of service error IDs to be described.

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

Parameters:
serviceErrorIds - An array of service error IDs to be described.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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