@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getOptimizationJobName() != null)
            sb.append("OptimizationJobName: ").append(getOptimizationJobName()).append(",");
        if (getOptimizationJobArn() != null)
            sb.append("OptimizationJobArn: ").append(getOptimizationJobArn()).append(",");
        if (getCreationTime() != null)
            sb.append("CreationTime: ").append(getCreationTime()).append(",");
        if (getOptimizationJobStatus() != null)
            sb.append("OptimizationJobStatus: ").append(getOptimizationJobStatus()).append(",");
        if (getOptimizationStartTime() != null)
            sb.append("OptimizationStartTime: ").append(getOptimizationStartTime()).append(",");
        if (getOptimizationEndTime() != null)
            sb.append("OptimizationEndTime: ").append(getOptimizationEndTime()).append(",");
        if (getLastModifiedTime() != null)
            sb.append("LastModifiedTime: ").append(getLastModifiedTime()).append(",");
        if (getDeploymentInstanceType() != null)
            sb.append("DeploymentInstanceType: ").append(getDeploymentInstanceType()).append(",");
        if (getOptimizationTypes() != null)
            sb.append("OptimizationTypes: ").append(getOptimizationTypes());
        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/OptimizationJobSummary.java