public CreateStackResult withStackId(String stackId) {
        setStackId(stackId);
        return this;
    }
<p>
The stack ID, which is an opaque string that you use to identify the stack when performing actions such as
<code>DescribeStacks</code>.
</p>

@param stackId
       The stack ID, which is an opaque string that you use to identify the stack when performing actions such as
       <code>DescribeStacks</code>.
@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/CreateStackResult.java