@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationJobPayloadConfig extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for the payload for a recommendation job.
| Constructor and Description |
|---|
RecommendationJobPayloadConfig() |
| Modifier and Type | Method and Description |
|---|---|
RecommendationJobPayloadConfig |
clone() |
boolean |
equals(Object obj) |
String |
getSamplePayloadUrl()
The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored.
|
List<String> |
getSupportedContentTypes()
The supported MIME types for the input data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSamplePayloadUrl(String samplePayloadUrl)
The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored.
|
void |
setSupportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the input data.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationJobPayloadConfig |
withSamplePayloadUrl(String samplePayloadUrl)
The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored.
|
RecommendationJobPayloadConfig |
withSupportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the input data.
|
RecommendationJobPayloadConfig |
withSupportedContentTypes(String... supportedContentTypes)
The supported MIME types for the input data.
|
public void setSamplePayloadUrl(String samplePayloadUrl)
The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
samplePayloadUrl - The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must
point to a single gzip compressed tar archive (.tar.gz suffix).public String getSamplePayloadUrl()
The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
public RecommendationJobPayloadConfig withSamplePayloadUrl(String samplePayloadUrl)
The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
samplePayloadUrl - The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must
point to a single gzip compressed tar archive (.tar.gz suffix).public List<String> getSupportedContentTypes()
The supported MIME types for the input data.
public void setSupportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the input data.
supportedContentTypes - The supported MIME types for the input data.public RecommendationJobPayloadConfig withSupportedContentTypes(String... supportedContentTypes)
The supported MIME types for the input data.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedContentTypes(java.util.Collection) or
withSupportedContentTypes(java.util.Collection) if you want to override the existing values.
supportedContentTypes - The supported MIME types for the input data.public RecommendationJobPayloadConfig withSupportedContentTypes(Collection<String> supportedContentTypes)
The supported MIME types for the input data.
supportedContentTypes - The supported MIME types for the input data.public String toString()
toString in class ObjectObject.toString()public RecommendationJobPayloadConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.