Class DescribeCommandsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
An array of command IDs.The deployment ID.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCommandIds
(String... commandIds) An array of command IDs.withCommandIds
(Collection<String> commandIds) An array of command IDs.withDeploymentId
(String deploymentId) The deployment ID.withInstanceId
(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
-
Constructor Details
-
DescribeCommandsRequest
public DescribeCommandsRequest()
-
-
Method Details
-
setDeploymentId
The deployment ID. If you include this parameter,
DescribeCommands
returns a description of the commands associated with the specified deployment.- Parameters:
deploymentId
- The deployment ID. If you include this parameter,DescribeCommands
returns a description of the commands associated with the specified deployment.
-
getDeploymentId
The deployment ID. If you include this parameter,
DescribeCommands
returns a description of the commands associated with the specified deployment.- Returns:
- The deployment ID. If you include this parameter,
DescribeCommands
returns a description of the commands associated with the specified deployment.
-
withDeploymentId
The deployment ID. If you include this parameter,
DescribeCommands
returns a description of the commands associated with the specified deployment.- Parameters:
deploymentId
- The deployment ID. If you include this parameter,DescribeCommands
returns 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
The instance ID. If you include this parameter,
DescribeCommands
returns a description of the commands associated with the specified instance.- Parameters:
instanceId
- The instance ID. If you include this parameter,DescribeCommands
returns a description of the commands associated with the specified instance.
-
getInstanceId
The instance ID. If you include this parameter,
DescribeCommands
returns a description of the commands associated with the specified instance.- Returns:
- The instance ID. If you include this parameter,
DescribeCommands
returns a description of the commands associated with the specified instance.
-
withInstanceId
The instance ID. If you include this parameter,
DescribeCommands
returns a description of the commands associated with the specified instance.- Parameters:
instanceId
- The instance ID. If you include this parameter,DescribeCommands
returns 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
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.- Returns:
- 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.
-
setCommandIds
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.- Parameters:
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.
-
withCommandIds
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)
orwithCommandIds(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCommandIds
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-