@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getComputeEnvironmentName() != null)
            sb.append("ComputeEnvironmentName: ").append(getComputeEnvironmentName()).append(",");
        if (getComputeEnvironmentArn() != null)
            sb.append("ComputeEnvironmentArn: ").append(getComputeEnvironmentArn()).append(",");
        if (getUnmanagedvCpus() != null)
            sb.append("UnmanagedvCpus: ").append(getUnmanagedvCpus()).append(",");
        if (getEcsClusterArn() != null)
            sb.append("EcsClusterArn: ").append(getEcsClusterArn()).append(",");
        if (getTags() != null)
            sb.append("Tags: ").append(getTags()).append(",");
        if (getType() != null)
            sb.append("Type: ").append(getType()).append(",");
        if (getState() != null)
            sb.append("State: ").append(getState()).append(",");
        if (getStatus() != null)
            sb.append("Status: ").append(getStatus()).append(",");
        if (getStatusReason() != null)
            sb.append("StatusReason: ").append(getStatusReason()).append(",");
        if (getComputeResources() != null)
            sb.append("ComputeResources: ").append(getComputeResources()).append(",");
        if (getServiceRole() != null)
            sb.append("ServiceRole: ").append(getServiceRole()).append(",");
        if (getUpdatePolicy() != null)
            sb.append("UpdatePolicy: ").append(getUpdatePolicy()).append(",");
        if (getEksConfiguration() != null)
            sb.append("EksConfiguration: ").append(getEksConfiguration()).append(",");
        if (getContainerOrchestrationType() != null)
            sb.append("ContainerOrchestrationType: ").append(getContainerOrchestrationType()).append(",");
        if (getUuid() != null)
            sb.append("Uuid: ").append(getUuid());
        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-batch/src/main/java/com/amazonaws/services/batch/model/ComputeEnvironmentDetail.java