@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSource extends Object implements Serializable, Cloneable, StructuredPojo
Describes the location of the channel data.
| Constructor and Description |
|---|
DataSource() |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
clone() |
boolean |
equals(Object obj) |
FileSystemDataSource |
getFileSystemDataSource()
The file system that is associated with a channel.
|
S3DataSource |
getS3DataSource()
The S3 location of the data source that is associated with a channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFileSystemDataSource(FileSystemDataSource fileSystemDataSource)
The file system that is associated with a channel.
|
void |
setS3DataSource(S3DataSource s3DataSource)
The S3 location of the data source that is associated with a channel.
|
String |
toString()
Returns a string representation of this object.
|
DataSource |
withFileSystemDataSource(FileSystemDataSource fileSystemDataSource)
The file system that is associated with a channel.
|
DataSource |
withS3DataSource(S3DataSource s3DataSource)
The S3 location of the data source that is associated with a channel.
|
public void setS3DataSource(S3DataSource s3DataSource)
The S3 location of the data source that is associated with a channel.
s3DataSource - The S3 location of the data source that is associated with a channel.public S3DataSource getS3DataSource()
The S3 location of the data source that is associated with a channel.
public DataSource withS3DataSource(S3DataSource s3DataSource)
The S3 location of the data source that is associated with a channel.
s3DataSource - The S3 location of the data source that is associated with a channel.public void setFileSystemDataSource(FileSystemDataSource fileSystemDataSource)
The file system that is associated with a channel.
fileSystemDataSource - The file system that is associated with a channel.public FileSystemDataSource getFileSystemDataSource()
The file system that is associated with a channel.
public DataSource withFileSystemDataSource(FileSystemDataSource fileSystemDataSource)
The file system that is associated with a channel.
fileSystemDataSource - The file system that is associated with a channel.public String toString()
toString in class ObjectObject.toString()public DataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.