Class DescribeCommandsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.opsworks.model.DescribeCommandsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeCommandsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeCommandsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeCommandsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<String>getCommandIds()An array of command IDs.StringgetDeploymentId()The deployment ID.StringgetInstanceId()The instance ID.inthashCode()voidsetCommandIds(Collection<String> commandIds)An array of command IDs.voidsetDeploymentId(String deploymentId)The deployment ID.voidsetInstanceId(String instanceId)The instance ID.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeCommandsRequestwithCommandIds(String... commandIds)An array of command IDs.DescribeCommandsRequestwithCommandIds(Collection<String> commandIds)An array of command IDs.DescribeCommandsRequestwithDeploymentId(String deploymentId)The deployment ID.DescribeCommandsRequestwithInstanceId(String instanceId)The instance ID.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setDeploymentId
public void setDeploymentId(String deploymentId)
The deployment ID. If you include this parameter,
DescribeCommandsreturns a description of the commands associated with the specified deployment.- Parameters:
deploymentId- The deployment ID. If you include this parameter,DescribeCommandsreturns a description of the commands associated with the specified deployment.
-
getDeploymentId
public String getDeploymentId()
The deployment ID. If you include this parameter,
DescribeCommandsreturns a description of the commands associated with the specified deployment.- Returns:
- The deployment ID. If you include this parameter,
DescribeCommandsreturns a description of the commands associated with the specified deployment.
-
withDeploymentId
public DescribeCommandsRequest withDeploymentId(String deploymentId)
The deployment ID. If you include this parameter,
DescribeCommandsreturns a description of the commands associated with the specified deployment.- Parameters:
deploymentId- The deployment ID. If you include this parameter,DescribeCommandsreturns a description of the commands associated with the specified deployment.- 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 include this parameter,
DescribeCommandsreturns a description of the commands associated with the specified instance.- Parameters:
instanceId- The instance ID. If you include this parameter,DescribeCommandsreturns a description of the commands associated with the specified instance.
-
getInstanceId
public String getInstanceId()
The instance ID. If you include this parameter,
DescribeCommandsreturns a description of the commands associated with the specified instance.- Returns:
- The instance ID. If you include this parameter,
DescribeCommandsreturns a description of the commands associated with the specified instance.
-
withInstanceId
public DescribeCommandsRequest withInstanceId(String instanceId)
The instance ID. If you include this parameter,
DescribeCommandsreturns a description of the commands associated with the specified instance.- Parameters:
instanceId- The instance ID. If you include this parameter,DescribeCommandsreturns a description of the commands associated with the specified instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getCommandIds
public List<String> getCommandIds()
An array of command IDs. If you include this parameter,
DescribeCommandsreturns a description of the specified commands. Otherwise, it returns a description of every command.- Returns:
- An array of command IDs. If you include this parameter,
DescribeCommandsreturns a description of the specified commands. Otherwise, it returns a description of every command.
-
setCommandIds
public void setCommandIds(Collection<String> commandIds)
An array of command IDs. If you include this parameter,
DescribeCommandsreturns a description of the specified commands. Otherwise, it returns a description of every command.- Parameters:
commandIds- An array of command IDs. If you include this parameter,DescribeCommandsreturns a description of the specified commands. Otherwise, it returns a description of every command.
-
withCommandIds
public DescribeCommandsRequest withCommandIds(String... commandIds)
An array of command IDs. If you include this parameter,
DescribeCommandsreturns a description of the specified commands. Otherwise, it returns a description of every command.NOTE: This method appends the values to the existing list (if any). Use
setCommandIds(java.util.Collection)orwithCommandIds(java.util.Collection)if you want to override the existing values.- Parameters:
commandIds- An array of command IDs. If you include this parameter,DescribeCommandsreturns a description of the specified commands. Otherwise, it returns a description of every command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCommandIds
public DescribeCommandsRequest withCommandIds(Collection<String> commandIds)
An array of command IDs. If you include this parameter,
DescribeCommandsreturns a description of the specified commands. Otherwise, it returns a description of every command.- Parameters:
commandIds- An array of command IDs. If you include this parameter,DescribeCommandsreturns a description of the specified commands. Otherwise, it returns a description of every command.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeCommandsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-