@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getReplicationGroupId() != null)
            sb.append("ReplicationGroupId: ").append(getReplicationGroupId()).append(",");
        if (getCacheClusterId() != null)
            sb.append("CacheClusterId: ").append(getCacheClusterId()).append(",");
        if (getServiceUpdateName() != null)
            sb.append("ServiceUpdateName: ").append(getServiceUpdateName()).append(",");
        if (getServiceUpdateReleaseDate() != null)
            sb.append("ServiceUpdateReleaseDate: ").append(getServiceUpdateReleaseDate()).append(",");
        if (getServiceUpdateSeverity() != null)
            sb.append("ServiceUpdateSeverity: ").append(getServiceUpdateSeverity()).append(",");
        if (getServiceUpdateStatus() != null)
            sb.append("ServiceUpdateStatus: ").append(getServiceUpdateStatus()).append(",");
        if (getServiceUpdateRecommendedApplyByDate() != null)
            sb.append("ServiceUpdateRecommendedApplyByDate: ").append(getServiceUpdateRecommendedApplyByDate()).append(",");
        if (getServiceUpdateType() != null)
            sb.append("ServiceUpdateType: ").append(getServiceUpdateType()).append(",");
        if (getUpdateActionAvailableDate() != null)
            sb.append("UpdateActionAvailableDate: ").append(getUpdateActionAvailableDate()).append(",");
        if (getUpdateActionStatus() != null)
            sb.append("UpdateActionStatus: ").append(getUpdateActionStatus()).append(",");
        if (getNodesUpdated() != null)
            sb.append("NodesUpdated: ").append(getNodesUpdated()).append(",");
        if (getUpdateActionStatusModifiedDate() != null)
            sb.append("UpdateActionStatusModifiedDate: ").append(getUpdateActionStatusModifiedDate()).append(",");
        if (getSlaMet() != null)
            sb.append("SlaMet: ").append(getSlaMet()).append(",");
        if (getNodeGroupUpdateStatus() != null)
            sb.append("NodeGroupUpdateStatus: ").append(getNodeGroupUpdateStatus()).append(",");
        if (getCacheNodeUpdateStatus() != null)
            sb.append("CacheNodeUpdateStatus: ").append(getCacheNodeUpdateStatus()).append(",");
        if (getEstimatedUpdateTime() != null)
            sb.append("EstimatedUpdateTime: ").append(getEstimatedUpdateTime()).append(",");
        if (getEngine() != null)
            sb.append("Engine: ").append(getEngine());
        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-elasticache/src/main/java/com/amazonaws/services/elasticache/model/UpdateAction.java