public CreateDeploymentRequest withAppId(String appId) {
        setAppId(appId);
        return this;
    }
<p>
The app ID. This parameter is required for app deployments, but not for other deployment commands.
</p>

@param appId
       The app ID. This parameter is required for app deployments, but not for other deployment commands.
@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