@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCommandsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeCommandsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeCommandsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getCommandIds()
An array of command IDs.
|
String |
getDeploymentId()
The deployment ID.
|
String |
getInstanceId()
The instance ID.
|
int |
hashCode() |
void |
setCommandIds(Collection<String> commandIds)
An array of command IDs.
|
void |
setDeploymentId(String deploymentId)
The deployment ID.
|
void |
setInstanceId(String instanceId)
The instance ID.
|
String |
toString()
Returns a string representation of this object.
|
DescribeCommandsRequest |
withCommandIds(Collection<String> commandIds)
An array of command IDs.
|
DescribeCommandsRequest |
withCommandIds(String... commandIds)
An array of command IDs.
|
DescribeCommandsRequest |
withDeploymentId(String deploymentId)
The deployment ID.
|
DescribeCommandsRequest |
withInstanceId(String instanceId)
The instance ID.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDeploymentId(String deploymentId)
The deployment ID. If you include this parameter, DescribeCommands
returns a description of the
commands associated with the specified deployment.
deploymentId
- The deployment ID. If you include this parameter, DescribeCommands
returns a description of
the commands associated with the specified deployment.public String getDeploymentId()
The deployment ID. If you include this parameter, DescribeCommands
returns a description of the
commands associated with the specified deployment.
DescribeCommands
returns a description of
the commands associated with the specified deployment.public DescribeCommandsRequest withDeploymentId(String deploymentId)
The deployment ID. If you include this parameter, DescribeCommands
returns a description of the
commands associated with the specified deployment.
deploymentId
- The deployment ID. If you include this parameter, DescribeCommands
returns a description of
the commands associated with the specified deployment.public void setInstanceId(String instanceId)
The instance ID. If you include this parameter, DescribeCommands
returns a description of the
commands associated with the specified instance.
instanceId
- The instance ID. If you include this parameter, DescribeCommands
returns a description of the
commands associated with the specified instance.public String getInstanceId()
The instance ID. If you include this parameter, DescribeCommands
returns a description of the
commands associated with the specified instance.
DescribeCommands
returns a description of
the commands associated with the specified instance.public DescribeCommandsRequest withInstanceId(String instanceId)
The instance ID. If you include this parameter, DescribeCommands
returns a description of the
commands associated with the specified instance.
instanceId
- The instance ID. If you include this parameter, DescribeCommands
returns a description of the
commands associated with the specified instance.public List<String> getCommandIds()
An array of command IDs. If you include this parameter, DescribeCommands
returns a description of
the specified commands. Otherwise, it returns a description of every command.
DescribeCommands
returns a
description of the specified commands. Otherwise, it returns a description of every command.public void setCommandIds(Collection<String> commandIds)
An array of command IDs. If you include this parameter, DescribeCommands
returns a description of
the specified commands. Otherwise, it returns a description of every command.
commandIds
- An array of command IDs. If you include this parameter, DescribeCommands
returns a
description of the specified commands. Otherwise, it returns a description of every command.public DescribeCommandsRequest withCommandIds(String... commandIds)
An array of command IDs. If you include this parameter, DescribeCommands
returns 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)
or withCommandIds(java.util.Collection)
if you want to
override the existing values.
commandIds
- An array of command IDs. If you include this parameter, DescribeCommands
returns a
description of the specified commands. Otherwise, it returns a description of every command.public DescribeCommandsRequest withCommandIds(Collection<String> commandIds)
An array of command IDs. If you include this parameter, DescribeCommands
returns a description of
the specified commands. Otherwise, it returns a description of every command.
commandIds
- An array of command IDs. If you include this parameter, DescribeCommands
returns a
description of the specified commands. Otherwise, it returns a description of every command.public String toString()
toString
in class Object
Object.toString()
public DescribeCommandsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()