@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getMonitorArn() != null)
            sb.append("MonitorArn: ").append(getMonitorArn()).append(",");
        if (getMonitorName() != null)
            sb.append("MonitorName: ").append(getMonitorName()).append(",");
        if (getCreationDate() != null)
            sb.append("CreationDate: ").append(getCreationDate()).append(",");
        if (getLastUpdatedDate() != null)
            sb.append("LastUpdatedDate: ").append(getLastUpdatedDate()).append(",");
        if (getLastEvaluatedDate() != null)
            sb.append("LastEvaluatedDate: ").append(getLastEvaluatedDate()).append(",");
        if (getMonitorType() != null)
            sb.append("MonitorType: ").append(getMonitorType()).append(",");
        if (getMonitorDimension() != null)
            sb.append("MonitorDimension: ").append(getMonitorDimension()).append(",");
        if (getMonitorSpecification() != null)
            sb.append("MonitorSpecification: ").append(getMonitorSpecification()).append(",");
        if (getDimensionalValueCount() != null)
            sb.append("DimensionalValueCount: ").append(getDimensionalValueCount());
        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-costexplorer/src/main/java/com/amazonaws/services/costexplorer/model/AnomalyMonitor.java