@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceConfig extends Object implements Serializable, Cloneable, StructuredPojo
Information about a data source.
Constructor and Description |
---|
DataSourceConfig() |
Modifier and Type | Method and Description |
---|---|
DataSourceConfig |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the data source.
|
String |
getS3Bucket()
The S3 bucket where the data files are located.
|
List<String> |
getS3Keys()
The list of S3 keys identifying the data source files.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the data source.
|
void |
setS3Bucket(String s3Bucket)
The S3 bucket where the data files are located.
|
void |
setS3Keys(Collection<String> s3Keys)
The list of S3 keys identifying the data source files.
|
String |
toString()
Returns a string representation of this object.
|
DataSourceConfig |
withName(String name)
The name of the data source.
|
DataSourceConfig |
withS3Bucket(String s3Bucket)
The S3 bucket where the data files are located.
|
DataSourceConfig |
withS3Keys(Collection<String> s3Keys)
The list of S3 keys identifying the data source files.
|
DataSourceConfig |
withS3Keys(String... s3Keys)
The list of S3 keys identifying the data source files.
|
public void setName(String name)
The name of the data source.
name
- The name of the data source.public String getName()
The name of the data source.
public DataSourceConfig withName(String name)
The name of the data source.
name
- The name of the data source.public void setS3Bucket(String s3Bucket)
The S3 bucket where the data files are located.
s3Bucket
- The S3 bucket where the data files are located.public String getS3Bucket()
The S3 bucket where the data files are located.
public DataSourceConfig withS3Bucket(String s3Bucket)
The S3 bucket where the data files are located.
s3Bucket
- The S3 bucket where the data files are located.public List<String> getS3Keys()
The list of S3 keys identifying the data source files.
public void setS3Keys(Collection<String> s3Keys)
The list of S3 keys identifying the data source files.
s3Keys
- The list of S3 keys identifying the data source files.public DataSourceConfig withS3Keys(String... s3Keys)
The list of S3 keys identifying the data source files.
NOTE: This method appends the values to the existing list (if any). Use
setS3Keys(java.util.Collection)
or withS3Keys(java.util.Collection)
if you want to override the
existing values.
s3Keys
- The list of S3 keys identifying the data source files.public DataSourceConfig withS3Keys(Collection<String> s3Keys)
The list of S3 keys identifying the data source files.
s3Keys
- The list of S3 keys identifying the data source files.public String toString()
toString
in class Object
Object.toString()
public DataSourceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.