public DescribeEndpointResult withPendingDeploymentSummary(PendingDeploymentSummary pendingDeploymentSummary) {
        setPendingDeploymentSummary(pendingDeploymentSummary);
        return this;
    }
<p>
Returns the summary of an in-progress deployment. This field is only returned when the endpoint is creating or
updating with a new endpoint configuration.
</p>

@param pendingDeploymentSummary
       Returns the summary of an in-progress deployment. This field is only returned when the endpoint is
       creating or updating with a new endpoint configuration.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/DescribeEndpointResult.java