public class GetDataSourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
GetDataSource operation
.
Returns a DataSource
that includes metadata and data file
information, as well as the current status of the
DataSource
.
GetDataSource
provides results in normal or verbose
format. The verbose format adds the schema description and the list of
files pointed to by the DataSource to the normal format.
NOOP
Constructor and Description |
---|
GetDataSourceRequest() |
Modifier and Type | Method and Description |
---|---|
GetDataSourceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDataSourceId()
The ID assigned to the
DataSource at creation. |
Boolean |
getVerbose()
Specifies whether the
GetDataSource operation should
return DataSourceSchema . |
int |
hashCode() |
Boolean |
isVerbose()
Specifies whether the
GetDataSource operation should
return DataSourceSchema . |
void |
setDataSourceId(String dataSourceId)
The ID assigned to the
DataSource at creation. |
void |
setVerbose(Boolean verbose)
Specifies whether the
GetDataSource operation should
return DataSourceSchema . |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetDataSourceRequest |
withDataSourceId(String dataSourceId)
The ID assigned to the
DataSource at creation. |
GetDataSourceRequest |
withVerbose(Boolean verbose)
Specifies whether the
GetDataSource operation should
return DataSourceSchema . |
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getDataSourceId()
DataSource
at creation.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
DataSource
at creation.public void setDataSourceId(String dataSourceId)
DataSource
at creation.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
dataSourceId
- The ID assigned to the DataSource
at creation.public GetDataSourceRequest withDataSourceId(String dataSourceId)
DataSource
at creation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
dataSourceId
- The ID assigned to the DataSource
at creation.public Boolean isVerbose()
GetDataSource
operation should
return DataSourceSchema
. If true,
DataSourceSchema
is returned.
If false,
DataSourceSchema
is not returned.
GetDataSource
operation should
return DataSourceSchema
. If true,
DataSourceSchema
is returned.
If false,
DataSourceSchema
is not returned.
public void setVerbose(Boolean verbose)
GetDataSource
operation should
return DataSourceSchema
. If true,
DataSourceSchema
is returned.
If false,
DataSourceSchema
is not returned.
verbose
- Specifies whether the GetDataSource
operation should
return DataSourceSchema
. If true,
DataSourceSchema
is returned.
If false,
DataSourceSchema
is not returned.
public GetDataSourceRequest withVerbose(Boolean verbose)
GetDataSource
operation should
return DataSourceSchema
. If true,
DataSourceSchema
is returned.
If false,
DataSourceSchema
is not returned.
Returns a reference to this object so that method calls can be chained together.
verbose
- Specifies whether the GetDataSource
operation should
return DataSourceSchema
. If true,
DataSourceSchema
is returned.
If false,
DataSourceSchema
is not returned.
public Boolean getVerbose()
GetDataSource
operation should
return DataSourceSchema
. If true,
DataSourceSchema
is returned.
If false,
DataSourceSchema
is not returned.
GetDataSource
operation should
return DataSourceSchema
. If true,
DataSourceSchema
is returned.
If false,
DataSourceSchema
is not returned.
public String toString()
toString
in class Object
Object.toString()
public GetDataSourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.