public class GetDataSourceResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a GetDataSource operation and describes a
DataSource
.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
computeStatistics
The parameter is
true if statistics need to be generated
from the observation data. |
private java.util.Date |
createdAt
The time that the
DataSource was created. |
private java.lang.String |
createdByIamUser
The AWS user account from which the
DataSource was created. |
private java.lang.String |
dataLocationS3
The location of the data file or directory in Amazon Simple Storage
Service (Amazon S3).
|
private java.lang.String |
dataRearrangement
A JSON string that captures the splitting rearrangement requirement of
the
DataSource . |
private java.lang.Long |
dataSizeInBytes
The total size of observations in the data files.
|
private java.lang.String |
dataSourceId
The ID assigned to the
DataSource at creation. |
private java.lang.String |
dataSourceSchema
The schema used by all of the data files of this
DataSource . |
private java.util.Date |
lastUpdatedAt
The time of the most recent edit to the
DataSource . |
private java.lang.String |
logUri
A link to the file containining logs of either create
DataSource operation. |
private java.lang.String |
message
The description of the most recent details about creating the
DataSource . |
private java.lang.String |
name
A user-supplied name or description of the
DataSource . |
private java.lang.Long |
numberOfFiles
The number of data files referenced by the
DataSource . |
private RDSMetadata |
rDSMetadata |
private RedshiftMetadata |
redshiftMetadata |
private java.lang.String |
roleARN |
private java.lang.String |
status
The current status of the
DataSource . |
Constructor and Description |
---|
GetDataSourceResult() |
Modifier and Type | Method and Description |
---|---|
GetDataSourceResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getComputeStatistics()
The parameter is
true if statistics need to be generated
from the observation data. |
java.util.Date |
getCreatedAt()
The time that the
DataSource was created. |
java.lang.String |
getCreatedByIamUser()
The AWS user account from which the
DataSource was created. |
java.lang.String |
getDataLocationS3()
The location of the data file or directory in Amazon Simple Storage
Service (Amazon S3).
|
java.lang.String |
getDataRearrangement()
A JSON string that captures the splitting rearrangement requirement of
the
DataSource . |
java.lang.Long |
getDataSizeInBytes()
The total size of observations in the data files.
|
java.lang.String |
getDataSourceId()
The ID assigned to the
DataSource at creation. |
java.lang.String |
getDataSourceSchema()
The schema used by all of the data files of this
DataSource . |
java.util.Date |
getLastUpdatedAt()
The time of the most recent edit to the
DataSource . |
java.lang.String |
getLogUri()
A link to the file containining logs of either create
DataSource operation. |
java.lang.String |
getMessage()
The description of the most recent details about creating the
DataSource . |
java.lang.String |
getName()
A user-supplied name or description of the
DataSource . |
java.lang.Long |
getNumberOfFiles()
The number of data files referenced by the
DataSource . |
RDSMetadata |
getRDSMetadata() |
RedshiftMetadata |
getRedshiftMetadata() |
java.lang.String |
getRoleARN() |
java.lang.String |
getStatus()
The current status of the
DataSource . |
int |
hashCode() |
java.lang.Boolean |
isComputeStatistics()
The parameter is
true if statistics need to be generated
from the observation data. |
void |
setComputeStatistics(java.lang.Boolean computeStatistics)
The parameter is
true if statistics need to be generated
from the observation data. |
void |
setCreatedAt(java.util.Date createdAt)
The time that the
DataSource was created. |
void |
setCreatedByIamUser(java.lang.String createdByIamUser)
The AWS user account from which the
DataSource was created. |
void |
setDataLocationS3(java.lang.String dataLocationS3)
The location of the data file or directory in Amazon Simple Storage
Service (Amazon S3).
|
void |
setDataRearrangement(java.lang.String dataRearrangement)
A JSON string that captures the splitting rearrangement requirement of
the
DataSource . |
void |
setDataSizeInBytes(java.lang.Long dataSizeInBytes)
The total size of observations in the data files.
|
void |
setDataSourceId(java.lang.String dataSourceId)
The ID assigned to the
DataSource at creation. |
void |
setDataSourceSchema(java.lang.String dataSourceSchema)
The schema used by all of the data files of this
DataSource . |
void |
setLastUpdatedAt(java.util.Date lastUpdatedAt)
The time of the most recent edit to the
DataSource . |
void |
setLogUri(java.lang.String logUri)
A link to the file containining logs of either create
DataSource operation. |
void |
setMessage(java.lang.String message)
The description of the most recent details about creating the
DataSource . |
void |
setName(java.lang.String name)
A user-supplied name or description of the
DataSource . |
void |
setNumberOfFiles(java.lang.Long numberOfFiles)
The number of data files referenced by the
DataSource . |
void |
setRDSMetadata(RDSMetadata rDSMetadata) |
void |
setRedshiftMetadata(RedshiftMetadata redshiftMetadata) |
void |
setRoleARN(java.lang.String roleARN) |
void |
setStatus(EntityStatus status)
The current status of the
DataSource . |
void |
setStatus(java.lang.String status)
The current status of the
DataSource . |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetDataSourceResult |
withComputeStatistics(java.lang.Boolean computeStatistics)
The parameter is
true if statistics need to be generated
from the observation data. |
GetDataSourceResult |
withCreatedAt(java.util.Date createdAt)
The time that the
DataSource was created. |
GetDataSourceResult |
withCreatedByIamUser(java.lang.String createdByIamUser)
The AWS user account from which the
DataSource was created. |
GetDataSourceResult |
withDataLocationS3(java.lang.String dataLocationS3)
The location of the data file or directory in Amazon Simple Storage
Service (Amazon S3).
|
GetDataSourceResult |
withDataRearrangement(java.lang.String dataRearrangement)
A JSON string that captures the splitting rearrangement requirement of
the
DataSource . |
GetDataSourceResult |
withDataSizeInBytes(java.lang.Long dataSizeInBytes)
The total size of observations in the data files.
|
GetDataSourceResult |
withDataSourceId(java.lang.String dataSourceId)
The ID assigned to the
DataSource at creation. |
GetDataSourceResult |
withDataSourceSchema(java.lang.String dataSourceSchema)
The schema used by all of the data files of this
DataSource . |
GetDataSourceResult |
withLastUpdatedAt(java.util.Date lastUpdatedAt)
The time of the most recent edit to the
DataSource . |
GetDataSourceResult |
withLogUri(java.lang.String logUri)
A link to the file containining logs of either create
DataSource operation. |
GetDataSourceResult |
withMessage(java.lang.String message)
The description of the most recent details about creating the
DataSource . |
GetDataSourceResult |
withName(java.lang.String name)
A user-supplied name or description of the
DataSource . |
GetDataSourceResult |
withNumberOfFiles(java.lang.Long numberOfFiles)
The number of data files referenced by the
DataSource . |
GetDataSourceResult |
withRDSMetadata(RDSMetadata rDSMetadata) |
GetDataSourceResult |
withRedshiftMetadata(RedshiftMetadata redshiftMetadata) |
GetDataSourceResult |
withRoleARN(java.lang.String roleARN) |
GetDataSourceResult |
withStatus(EntityStatus status)
The current status of the
DataSource . |
GetDataSourceResult |
withStatus(java.lang.String status)
The current status of the
DataSource . |
private java.lang.String dataSourceId
The ID assigned to the DataSource
at creation. This value
should be identical to the value of the DataSourceId
in the
request.
private java.lang.String dataLocationS3
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
private java.lang.String dataRearrangement
A JSON string that captures the splitting rearrangement requirement of
the DataSource
.
private java.lang.String createdByIamUser
The AWS user account from which the DataSource
was created.
The account type can be either an AWS root account or an AWS Identity and
Access Management (IAM) user account.
private java.util.Date createdAt
The time that the DataSource
was created. The time is
expressed in epoch time.
private java.util.Date lastUpdatedAt
The time of the most recent edit to the DataSource
. The time
is expressed in epoch time.
private java.lang.Long dataSizeInBytes
The total size of observations in the data files.
private java.lang.Long numberOfFiles
The number of data files referenced by the DataSource
.
private java.lang.String name
A user-supplied name or description of the DataSource
.
private java.lang.String status
The current status of the DataSource
. This element can have
one of the following values:
PENDING
- Amazon Machine Language (Amazon ML) submitted
a request to create a DataSource
.INPROGRESS
- The creation process is underway.FAILED
- The request to create a DataSource
did not run to completion. It is not usable.COMPLETED
- The creation process completed successfully.
DELETED
- The DataSource
is marked as
deleted. It is not usable.private java.lang.String logUri
A link to the file containining logs of either create
DataSource
operation.
private java.lang.String message
The description of the most recent details about creating the
DataSource
.
private RedshiftMetadata redshiftMetadata
private RDSMetadata rDSMetadata
private java.lang.String roleARN
private java.lang.Boolean computeStatistics
The parameter is true
if statistics need to be generated
from the observation data.
private java.lang.String dataSourceSchema
The schema used by all of the data files of this DataSource
.
This parameter is provided as part of the verbose format.
public void setDataSourceId(java.lang.String dataSourceId)
The ID assigned to the DataSource
at creation. This value
should be identical to the value of the DataSourceId
in the
request.
dataSourceId
- The ID assigned to the DataSource
at creation. This
value should be identical to the value of the
DataSourceId
in the request.public java.lang.String getDataSourceId()
The ID assigned to the DataSource
at creation. This value
should be identical to the value of the DataSourceId
in the
request.
DataSource
at creation. This
value should be identical to the value of the
DataSourceId
in the request.public GetDataSourceResult withDataSourceId(java.lang.String dataSourceId)
The ID assigned to the DataSource
at creation. This value
should be identical to the value of the DataSourceId
in the
request.
dataSourceId
- The ID assigned to the DataSource
at creation. This
value should be identical to the value of the
DataSourceId
in the request.public void setDataLocationS3(java.lang.String dataLocationS3)
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
dataLocationS3
- The location of the data file or directory in Amazon Simple
Storage Service (Amazon S3).public java.lang.String getDataLocationS3()
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
public GetDataSourceResult withDataLocationS3(java.lang.String dataLocationS3)
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
dataLocationS3
- The location of the data file or directory in Amazon Simple
Storage Service (Amazon S3).public void setDataRearrangement(java.lang.String dataRearrangement)
A JSON string that captures the splitting rearrangement requirement of
the DataSource
.
dataRearrangement
- A JSON string that captures the splitting rearrangement
requirement of the DataSource
.public java.lang.String getDataRearrangement()
A JSON string that captures the splitting rearrangement requirement of
the DataSource
.
DataSource
.public GetDataSourceResult withDataRearrangement(java.lang.String dataRearrangement)
A JSON string that captures the splitting rearrangement requirement of
the DataSource
.
dataRearrangement
- A JSON string that captures the splitting rearrangement
requirement of the DataSource
.public void setCreatedByIamUser(java.lang.String createdByIamUser)
The AWS user account from which the DataSource
was created.
The account type can be either an AWS root account or an AWS Identity and
Access Management (IAM) user account.
createdByIamUser
- The AWS user account from which the DataSource
was
created. The account type can be either an AWS root account or an
AWS Identity and Access Management (IAM) user account.public java.lang.String getCreatedByIamUser()
The AWS user account from which the DataSource
was created.
The account type can be either an AWS root account or an AWS Identity and
Access Management (IAM) user account.
DataSource
was
created. The account type can be either an AWS root account or an
AWS Identity and Access Management (IAM) user account.public GetDataSourceResult withCreatedByIamUser(java.lang.String createdByIamUser)
The AWS user account from which the DataSource
was created.
The account type can be either an AWS root account or an AWS Identity and
Access Management (IAM) user account.
createdByIamUser
- The AWS user account from which the DataSource
was
created. The account type can be either an AWS root account or an
AWS Identity and Access Management (IAM) user account.public void setCreatedAt(java.util.Date createdAt)
The time that the DataSource
was created. The time is
expressed in epoch time.
createdAt
- The time that the DataSource
was created. The time is
expressed in epoch time.public java.util.Date getCreatedAt()
The time that the DataSource
was created. The time is
expressed in epoch time.
DataSource
was created. The time
is expressed in epoch time.public GetDataSourceResult withCreatedAt(java.util.Date createdAt)
The time that the DataSource
was created. The time is
expressed in epoch time.
createdAt
- The time that the DataSource
was created. The time is
expressed in epoch time.public void setLastUpdatedAt(java.util.Date lastUpdatedAt)
The time of the most recent edit to the DataSource
. The time
is expressed in epoch time.
lastUpdatedAt
- The time of the most recent edit to the DataSource
.
The time is expressed in epoch time.public java.util.Date getLastUpdatedAt()
The time of the most recent edit to the DataSource
. The time
is expressed in epoch time.
DataSource
.
The time is expressed in epoch time.public GetDataSourceResult withLastUpdatedAt(java.util.Date lastUpdatedAt)
The time of the most recent edit to the DataSource
. The time
is expressed in epoch time.
lastUpdatedAt
- The time of the most recent edit to the DataSource
.
The time is expressed in epoch time.public void setDataSizeInBytes(java.lang.Long dataSizeInBytes)
The total size of observations in the data files.
dataSizeInBytes
- The total size of observations in the data files.public java.lang.Long getDataSizeInBytes()
The total size of observations in the data files.
public GetDataSourceResult withDataSizeInBytes(java.lang.Long dataSizeInBytes)
The total size of observations in the data files.
dataSizeInBytes
- The total size of observations in the data files.public void setNumberOfFiles(java.lang.Long numberOfFiles)
The number of data files referenced by the DataSource
.
numberOfFiles
- The number of data files referenced by the DataSource
.public java.lang.Long getNumberOfFiles()
The number of data files referenced by the DataSource
.
DataSource
.public GetDataSourceResult withNumberOfFiles(java.lang.Long numberOfFiles)
The number of data files referenced by the DataSource
.
numberOfFiles
- The number of data files referenced by the DataSource
.public void setName(java.lang.String name)
A user-supplied name or description of the DataSource
.
name
- A user-supplied name or description of the DataSource
.public java.lang.String getName()
A user-supplied name or description of the DataSource
.
DataSource
.public GetDataSourceResult withName(java.lang.String name)
A user-supplied name or description of the DataSource
.
name
- A user-supplied name or description of the DataSource
.public void setStatus(java.lang.String status)
The current status of the DataSource
. This element can have
one of the following values:
PENDING
- Amazon Machine Language (Amazon ML) submitted
a request to create a DataSource
.INPROGRESS
- The creation process is underway.FAILED
- The request to create a DataSource
did not run to completion. It is not usable.COMPLETED
- The creation process completed successfully.
DELETED
- The DataSource
is marked as
deleted. It is not usable.status
- The current status of the DataSource
. This element
can have one of the following values:
PENDING
- Amazon Machine Language (Amazon ML)
submitted a request to create a DataSource
.INPROGRESS
- The creation process is underway.FAILED
- The request to create a
DataSource
did not run to completion. It is not
usable.COMPLETED
- The creation process completed
successfully.DELETED
- The DataSource
is marked
as deleted. It is not usable.EntityStatus
public java.lang.String getStatus()
The current status of the DataSource
. This element can have
one of the following values:
PENDING
- Amazon Machine Language (Amazon ML) submitted
a request to create a DataSource
.INPROGRESS
- The creation process is underway.FAILED
- The request to create a DataSource
did not run to completion. It is not usable.COMPLETED
- The creation process completed successfully.
DELETED
- The DataSource
is marked as
deleted. It is not usable.DataSource
. This element
can have one of the following values:
PENDING
- Amazon Machine Language (Amazon ML)
submitted a request to create a DataSource
.INPROGRESS
- The creation process is underway.FAILED
- The request to create a
DataSource
did not run to completion. It is not
usable.COMPLETED
- The creation process completed
successfully.DELETED
- The DataSource
is marked
as deleted. It is not usable.EntityStatus
public GetDataSourceResult withStatus(java.lang.String status)
The current status of the DataSource
. This element can have
one of the following values:
PENDING
- Amazon Machine Language (Amazon ML) submitted
a request to create a DataSource
.INPROGRESS
- The creation process is underway.FAILED
- The request to create a DataSource
did not run to completion. It is not usable.COMPLETED
- The creation process completed successfully.
DELETED
- The DataSource
is marked as
deleted. It is not usable.status
- The current status of the DataSource
. This element
can have one of the following values:
PENDING
- Amazon Machine Language (Amazon ML)
submitted a request to create a DataSource
.INPROGRESS
- The creation process is underway.FAILED
- The request to create a
DataSource
did not run to completion. It is not
usable.COMPLETED
- The creation process completed
successfully.DELETED
- The DataSource
is marked
as deleted. It is not usable.EntityStatus
public void setStatus(EntityStatus status)
The current status of the DataSource
. This element can have
one of the following values:
PENDING
- Amazon Machine Language (Amazon ML) submitted
a request to create a DataSource
.INPROGRESS
- The creation process is underway.FAILED
- The request to create a DataSource
did not run to completion. It is not usable.COMPLETED
- The creation process completed successfully.
DELETED
- The DataSource
is marked as
deleted. It is not usable.status
- The current status of the DataSource
. This element
can have one of the following values:
PENDING
- Amazon Machine Language (Amazon ML)
submitted a request to create a DataSource
.INPROGRESS
- The creation process is underway.FAILED
- The request to create a
DataSource
did not run to completion. It is not
usable.COMPLETED
- The creation process completed
successfully.DELETED
- The DataSource
is marked
as deleted. It is not usable.EntityStatus
public GetDataSourceResult withStatus(EntityStatus status)
The current status of the DataSource
. This element can have
one of the following values:
PENDING
- Amazon Machine Language (Amazon ML) submitted
a request to create a DataSource
.INPROGRESS
- The creation process is underway.FAILED
- The request to create a DataSource
did not run to completion. It is not usable.COMPLETED
- The creation process completed successfully.
DELETED
- The DataSource
is marked as
deleted. It is not usable.status
- The current status of the DataSource
. This element
can have one of the following values:
PENDING
- Amazon Machine Language (Amazon ML)
submitted a request to create a DataSource
.INPROGRESS
- The creation process is underway.FAILED
- The request to create a
DataSource
did not run to completion. It is not
usable.COMPLETED
- The creation process completed
successfully.DELETED
- The DataSource
is marked
as deleted. It is not usable.EntityStatus
public void setLogUri(java.lang.String logUri)
A link to the file containining logs of either create
DataSource
operation.
logUri
- A link to the file containining logs of either create
DataSource
operation.public java.lang.String getLogUri()
A link to the file containining logs of either create
DataSource
operation.
DataSource
operation.public GetDataSourceResult withLogUri(java.lang.String logUri)
A link to the file containining logs of either create
DataSource
operation.
logUri
- A link to the file containining logs of either create
DataSource
operation.public void setMessage(java.lang.String message)
The description of the most recent details about creating the
DataSource
.
message
- The description of the most recent details about creating the
DataSource
.public java.lang.String getMessage()
The description of the most recent details about creating the
DataSource
.
DataSource
.public GetDataSourceResult withMessage(java.lang.String message)
The description of the most recent details about creating the
DataSource
.
message
- The description of the most recent details about creating the
DataSource
.public void setRedshiftMetadata(RedshiftMetadata redshiftMetadata)
redshiftMetadata
- public RedshiftMetadata getRedshiftMetadata()
public GetDataSourceResult withRedshiftMetadata(RedshiftMetadata redshiftMetadata)
redshiftMetadata
- public void setRDSMetadata(RDSMetadata rDSMetadata)
rDSMetadata
- public RDSMetadata getRDSMetadata()
public GetDataSourceResult withRDSMetadata(RDSMetadata rDSMetadata)
rDSMetadata
- public void setRoleARN(java.lang.String roleARN)
roleARN
- public java.lang.String getRoleARN()
public GetDataSourceResult withRoleARN(java.lang.String roleARN)
roleARN
- public void setComputeStatistics(java.lang.Boolean computeStatistics)
The parameter is true
if statistics need to be generated
from the observation data.
computeStatistics
- The parameter is true
if statistics need to be
generated from the observation data.public java.lang.Boolean getComputeStatistics()
The parameter is true
if statistics need to be generated
from the observation data.
true
if statistics need to be
generated from the observation data.public GetDataSourceResult withComputeStatistics(java.lang.Boolean computeStatistics)
The parameter is true
if statistics need to be generated
from the observation data.
computeStatistics
- The parameter is true
if statistics need to be
generated from the observation data.public java.lang.Boolean isComputeStatistics()
The parameter is true
if statistics need to be generated
from the observation data.
true
if statistics need to be
generated from the observation data.public void setDataSourceSchema(java.lang.String dataSourceSchema)
The schema used by all of the data files of this DataSource
.
This parameter is provided as part of the verbose format.
dataSourceSchema
- The schema used by all of the data files of this
DataSource
. This parameter is provided as part of the verbose format.
public java.lang.String getDataSourceSchema()
The schema used by all of the data files of this DataSource
.
This parameter is provided as part of the verbose format.
DataSource
. This parameter is provided as part of the verbose format.
public GetDataSourceResult withDataSourceSchema(java.lang.String dataSourceSchema)
The schema used by all of the data files of this DataSource
.
This parameter is provided as part of the verbose format.
dataSourceSchema
- The schema used by all of the data files of this
DataSource
. This parameter is provided as part of the verbose format.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetDataSourceResult clone()
clone
in class java.lang.Object