com.ionoscloud.s3.messages.CsvOutputSerialization Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ionos-cloud-sdk-s3 Show documentation
Show all versions of ionos-cloud-sdk-s3 Show documentation
IONOS Java SDK for Amazon S3 Compatible Cloud Storage
The newest version!
package com.ionoscloud.s3.messages;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;
/**
* Helper class to denote CSV output serialization request XML as per {@link
* SelectObjectContentRequest}.
*/
@Root(name = "CSV")
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings(value = "URF_UNREAD_FIELD")
public class CsvOutputSerialization {
@Element(name = "FieldDelimiter", required = false)
private Character fieldDelimiter;
@Element(name = "QuoteCharacter", required = false)
private Character quoteCharacter;
@Element(name = "QuoteEscapeCharacter", required = false)
private Character quoteEscapeCharacter;
@Element(name = "QuoteFields", required = false)
private QuoteFields quoteFields;
@Element(name = "RecordDelimiter", required = false)
private Character recordDelimiter;
/** Constructs a new CsvOutputSerialization object. */
public CsvOutputSerialization(
Character fieldDelimiter,
Character quoteCharacter,
Character quoteEscapeCharacter,
QuoteFields quoteFields,
Character recordDelimiter) {
this.fieldDelimiter = fieldDelimiter;
this.quoteCharacter = quoteCharacter;
this.quoteEscapeCharacter = quoteEscapeCharacter;
this.quoteFields = quoteFields;
this.recordDelimiter = recordDelimiter;
}
}