@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getEndpointName() != null)
            sb.append("EndpointName: ").append(getEndpointName()).append(",");
        if (getContentType() != null)
            sb.append("ContentType: ").append(getContentType()).append(",");
        if (getAccept() != null)
            sb.append("Accept: ").append(getAccept()).append(",");
        if (getCustomAttributes() != null)
            sb.append("CustomAttributes: ").append("***Sensitive Data Redacted***").append(",");
        if (getInferenceId() != null)
            sb.append("InferenceId: ").append(getInferenceId()).append(",");
        if (getInputLocation() != null)
            sb.append("InputLocation: ").append(getInputLocation()).append(",");
        if (getRequestTTLSeconds() != null)
            sb.append("RequestTTLSeconds: ").append(getRequestTTLSeconds()).append(",");
        if (getInvocationTimeoutSeconds() != null)
            sb.append("InvocationTimeoutSeconds: ").append(getInvocationTimeoutSeconds());
        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-sagemakerruntime/src/main/java/com/amazonaws/services/sagemakerruntime/model/InvokeEndpointAsyncRequest.java