public class DescribeCommandsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
commandIds
An array of command IDs.
|
private java.lang.String |
deploymentId
The deployment ID.
|
private java.lang.String |
instanceId
The instance ID.
|
NOOP
Constructor and Description |
---|
DescribeCommandsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeCommandsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getCommandIds()
An array of command IDs.
|
java.lang.String |
getDeploymentId()
The deployment ID.
|
java.lang.String |
getInstanceId()
The instance ID.
|
int |
hashCode() |
void |
setCommandIds(java.util.Collection<java.lang.String> commandIds)
An array of command IDs.
|
void |
setDeploymentId(java.lang.String deploymentId)
The deployment ID.
|
void |
setInstanceId(java.lang.String instanceId)
The instance ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCommandsRequest |
withCommandIds(java.util.Collection<java.lang.String> commandIds)
An array of command IDs.
|
DescribeCommandsRequest |
withCommandIds(java.lang.String... commandIds)
An array of command IDs.
|
DescribeCommandsRequest |
withDeploymentId(java.lang.String deploymentId)
The deployment ID.
|
DescribeCommandsRequest |
withInstanceId(java.lang.String instanceId)
The instance ID.
|
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
private java.lang.String deploymentId
The deployment ID. If you include this parameter,
DescribeCommands
returns a description of the commands
associated with the specified deployment.
private java.lang.String instanceId
The instance ID. If you include this parameter,
DescribeCommands
returns a description of the commands
associated with the specified instance.
private SdkInternalList<java.lang.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.
public void setDeploymentId(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeCommandsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()