Class DescribeServiceErrorsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.opsworks.model.DescribeServiceErrorsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class DescribeServiceErrorsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • DescribeServiceErrorsRequest

      public DescribeServiceErrorsRequest()
  • Method Details

    • 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.
    • 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.
    • 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.

      Parameters:
      stackId - The stack ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified stack.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • 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.
    • 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.

      Parameters:
      instanceId - The instance ID. If you use this parameter, DescribeServiceErrors returns descriptions of the errors associated with the specified instance.
      Returns:
      Returns a reference to this 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.

      NOTE: This method appends the values to the existing list (if any). Use setServiceErrorIds(java.util.Collection) or withServiceErrorIds(java.util.Collection) if you want to override the existing values.

      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:
      Returns a reference to this 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.

      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:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: