@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getStackId() != null)
            sb.append("StackId: ").append(getStackId()).append(",");
        if (getName() != null)
            sb.append("Name: ").append(getName()).append(",");
        if (getArn() != null)
            sb.append("Arn: ").append(getArn()).append(",");
        if (getLayersCount() != null)
            sb.append("LayersCount: ").append(getLayersCount()).append(",");
        if (getAppsCount() != null)
            sb.append("AppsCount: ").append(getAppsCount()).append(",");
        if (getInstancesCount() != null)
            sb.append("InstancesCount: ").append(getInstancesCount());
        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-opsworks/src/main/java/com/amazonaws/services/opsworks/model/StackSummary.java