public class DescribeCommandsRequest extends AmazonWebServiceRequest implements Serializable
DescribeCommands operation
.
Describes the results of specified commands.
NOTE: You must specify at least one of the parameters.
Required Permissions : To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .
NOOP
Constructor and Description |
---|
DescribeCommandsRequest() |
Modifier and Type | Method and Description |
---|---|
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; useful for testing and
debugging.
|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getDeploymentId()
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 void setDeploymentId(String deploymentId)
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 DescribeCommandsRequest withDeploymentId(String deploymentId)
DescribeCommands
returns a description of the commands
associated with the specified deployment.
Returns a reference to this object so that method calls can be chained together.
deploymentId
- The deployment ID. If you include this parameter,
DescribeCommands
returns a description of the commands
associated with the specified deployment.public String getInstanceId()
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 void setInstanceId(String instanceId)
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 DescribeCommandsRequest withInstanceId(String instanceId)
DescribeCommands
returns a description of the commands
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 include this parameter,
DescribeCommands
returns a description of the commands
associated with the specified instance.public List<String> getCommandIds()
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)
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)
DescribeCommands
returns a description of the specified
commands. Otherwise, it returns a description of every command.
Returns a reference to this object so that method calls can be chained together.
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)
DescribeCommands
returns a description of the specified
commands. Otherwise, it returns a description of every command.
Returns a reference to this object so that method calls can be chained together.
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()
Copyright © 2014. All rights reserved.