@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportDataSource extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains details about the data source of the export job. It can only contain one of
MetricsDataSource or MessageInsightsDataSource object.
| Constructor and Description |
|---|
ExportDataSource() |
| Modifier and Type | Method and Description |
|---|---|
ExportDataSource |
clone() |
boolean |
equals(Object obj) |
MessageInsightsDataSource |
getMessageInsightsDataSource() |
MetricsDataSource |
getMetricsDataSource() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMessageInsightsDataSource(MessageInsightsDataSource messageInsightsDataSource) |
void |
setMetricsDataSource(MetricsDataSource metricsDataSource) |
String |
toString()
Returns a string representation of this object.
|
ExportDataSource |
withMessageInsightsDataSource(MessageInsightsDataSource messageInsightsDataSource) |
ExportDataSource |
withMetricsDataSource(MetricsDataSource metricsDataSource) |
public void setMetricsDataSource(MetricsDataSource metricsDataSource)
metricsDataSource - public MetricsDataSource getMetricsDataSource()
public ExportDataSource withMetricsDataSource(MetricsDataSource metricsDataSource)
metricsDataSource - public void setMessageInsightsDataSource(MessageInsightsDataSource messageInsightsDataSource)
messageInsightsDataSource - public MessageInsightsDataSource getMessageInsightsDataSource()
public ExportDataSource withMessageInsightsDataSource(MessageInsightsDataSource messageInsightsDataSource)
messageInsightsDataSource - public String toString()
toString in class ObjectObject.toString()public ExportDataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.