@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getVariantName() != null)
            sb.append("VariantName: ").append(getVariantName()).append(",");
        if (getDeployedImages() != null)
            sb.append("DeployedImages: ").append(getDeployedImages()).append(",");
        if (getCurrentWeight() != null)
            sb.append("CurrentWeight: ").append(getCurrentWeight()).append(",");
        if (getDesiredWeight() != null)
            sb.append("DesiredWeight: ").append(getDesiredWeight()).append(",");
        if (getCurrentInstanceCount() != null)
            sb.append("CurrentInstanceCount: ").append(getCurrentInstanceCount()).append(",");
        if (getDesiredInstanceCount() != null)
            sb.append("DesiredInstanceCount: ").append(getDesiredInstanceCount()).append(",");
        if (getVariantStatus() != null)
            sb.append("VariantStatus: ").append(getVariantStatus()).append(",");
        if (getCurrentServerlessConfig() != null)
            sb.append("CurrentServerlessConfig: ").append(getCurrentServerlessConfig()).append(",");
        if (getDesiredServerlessConfig() != null)
            sb.append("DesiredServerlessConfig: ").append(getDesiredServerlessConfig()).append(",");
        if (getManagedInstanceScaling() != null)
            sb.append("ManagedInstanceScaling: ").append(getManagedInstanceScaling()).append(",");
        if (getRoutingConfig() != null)
            sb.append("RoutingConfig: ").append(getRoutingConfig());
        sb.append("}");
        return sb.toString();
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ProductionVariantSummary.java