public DeploymentResult withDeploymentStatus(String deploymentStatus) {
        setDeploymentStatus(deploymentStatus);
        return this;
    }
<p>
Returns the bucket error code.
</p>

@param deploymentStatus
       Returns the bucket error code.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemakeredgemanager/src/main/java/com/amazonaws/services/sagemakeredgemanager/model/DeploymentResult.java