@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CaptureContentTypeHeader extends Object implements Serializable, Cloneable, StructuredPojo
Configuration specifying how to treat different headers. If no headers are specified Amazon SageMaker will by default base64 encode when capturing the data.
Constructor and Description |
---|
CaptureContentTypeHeader() |
Modifier and Type | Method and Description |
---|---|
CaptureContentTypeHeader |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCsvContentTypes()
The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
|
List<String> |
getJsonContentTypes()
The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCsvContentTypes(Collection<String> csvContentTypes)
The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
|
void |
setJsonContentTypes(Collection<String> jsonContentTypes)
The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
|
String |
toString()
Returns a string representation of this object.
|
CaptureContentTypeHeader |
withCsvContentTypes(Collection<String> csvContentTypes)
The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
|
CaptureContentTypeHeader |
withCsvContentTypes(String... csvContentTypes)
The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
|
CaptureContentTypeHeader |
withJsonContentTypes(Collection<String> jsonContentTypes)
The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
|
CaptureContentTypeHeader |
withJsonContentTypes(String... jsonContentTypes)
The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
|
public List<String> getCsvContentTypes()
The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
public void setCsvContentTypes(Collection<String> csvContentTypes)
The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
csvContentTypes
- The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.public CaptureContentTypeHeader withCsvContentTypes(String... csvContentTypes)
The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
NOTE: This method appends the values to the existing list (if any). Use
setCsvContentTypes(java.util.Collection)
or withCsvContentTypes(java.util.Collection)
if you
want to override the existing values.
csvContentTypes
- The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.public CaptureContentTypeHeader withCsvContentTypes(Collection<String> csvContentTypes)
The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.
csvContentTypes
- The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.public List<String> getJsonContentTypes()
The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
public void setJsonContentTypes(Collection<String> jsonContentTypes)
The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
jsonContentTypes
- The list of all content type headers that SageMaker will treat as JSON and capture accordingly.public CaptureContentTypeHeader withJsonContentTypes(String... jsonContentTypes)
The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
NOTE: This method appends the values to the existing list (if any). Use
setJsonContentTypes(java.util.Collection)
or withJsonContentTypes(java.util.Collection)
if you
want to override the existing values.
jsonContentTypes
- The list of all content type headers that SageMaker will treat as JSON and capture accordingly.public CaptureContentTypeHeader withJsonContentTypes(Collection<String> jsonContentTypes)
The list of all content type headers that SageMaker will treat as JSON and capture accordingly.
jsonContentTypes
- The list of all content type headers that SageMaker will treat as JSON and capture accordingly.public String toString()
toString
in class Object
Object.toString()
public CaptureContentTypeHeader clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.