public CreateDeploymentRequest withCommand(DeploymentCommand command) {
        setCommand(command);
        return this;
    }
<p>
A <code>DeploymentCommand</code> object that specifies the deployment command and any associated arguments.
</p>

@param command
       A <code>DeploymentCommand</code> object that specifies the deployment command and any associated
       arguments.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CreateDeploymentRequest.java