public ServiceInstance withLastAttemptedDeploymentId(String lastAttemptedDeploymentId) {
        setLastAttemptedDeploymentId(lastAttemptedDeploymentId);
        return this;
    }
<p>
The ID of the last attempted deployment of this service instance.
</p>

@param lastAttemptedDeploymentId
       The ID of the last attempted deployment of this service instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/ServiceInstance.java