@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getEnableCapture() != null)
            sb.append("EnableCapture: ").append(getEnableCapture()).append(",");
        if (getInitialSamplingPercentage() != null)
            sb.append("InitialSamplingPercentage: ").append(getInitialSamplingPercentage()).append(",");
        if (getDestinationS3Uri() != null)
            sb.append("DestinationS3Uri: ").append(getDestinationS3Uri()).append(",");
        if (getKmsKeyId() != null)
            sb.append("KmsKeyId: ").append(getKmsKeyId()).append(",");
        if (getCaptureOptions() != null)
            sb.append("CaptureOptions: ").append(getCaptureOptions()).append(",");
        if (getCaptureContentTypeHeader() != null)
            sb.append("CaptureContentTypeHeader: ").append(getCaptureContentTypeHeader());
        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-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/DataCaptureConfig.java