public class DescribeServiceErrorsRequest extends AmazonWebServiceRequest implements Serializable
DescribeServiceErrors operation
.
Describes AWS OpsWorks service errors.
Constructor and Description |
---|
DescribeServiceErrorsRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getStackId()
DescribeServiceErrors
returns descriptions of the errors
associated with the specified stack.DescribeServiceErrors
returns descriptions of the errors
associated with the specified stack.public void setStackId(String stackId)
DescribeServiceErrors
returns descriptions of the errors
associated with the specified stack.stackId
- The stack ID. If you use this parameter,
DescribeServiceErrors
returns descriptions of the errors
associated with the specified stack.public DescribeServiceErrorsRequest withStackId(String stackId)
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.
stackId
- The stack ID. If you use this parameter,
DescribeServiceErrors
returns descriptions of the errors
associated with the specified stack.public String getInstanceId()
DescribeServiceErrors
returns descriptions of the errors
associated with the specified instance.DescribeServiceErrors
returns descriptions of the errors
associated with the specified instance.public void setInstanceId(String instanceId)
DescribeServiceErrors
returns descriptions of the errors
associated with the specified instance.instanceId
- The instance ID. If you use this parameter,
DescribeServiceErrors
returns descriptions of the errors
associated with the specified instance.public DescribeServiceErrorsRequest withInstanceId(String instanceId)
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.
instanceId
- The instance ID. If you use this parameter,
DescribeServiceErrors
returns descriptions of the errors
associated with the specified instance.public List<String> getServiceErrorIds()
DescribeServiceErrors
returns descriptions of the
specified errors. Otherwise, it returns a description of every error.DescribeServiceErrors
returns descriptions of the
specified errors. Otherwise, it returns a description of every error.public void setServiceErrorIds(Collection<String> serviceErrorIds)
DescribeServiceErrors
returns descriptions of the
specified errors. Otherwise, it returns a description of every error.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.public DescribeServiceErrorsRequest withServiceErrorIds(String... serviceErrorIds)
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.
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.public DescribeServiceErrorsRequest withServiceErrorIds(Collection<String> serviceErrorIds)
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.
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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.