@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDataSourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetDataSourceResult() |
Modifier and Type | Method and Description |
---|---|
GetDataSourceResult |
clone() |
boolean |
equals(Object obj) |
List<FormOutput> |
getAssetFormsOutput()
The metadata forms attached to the assets created by this data source.
|
DataSourceConfigurationOutput |
getConfiguration()
The configuration of the data source.
|
Date |
getCreatedAt()
The timestamp of when the data source was created.
|
String |
getDescription()
The description of the data source.
|
String |
getDomainId()
The ID of the Amazon DataZone domain in which the data source exists.
|
String |
getEnableSetting()
Specifies whether this data source is enabled or not.
|
String |
getEnvironmentId()
The ID of the environment where this data source creates and publishes assets,
|
DataSourceErrorMessage |
getErrorMessage()
Specifies the error message that is returned if the operation cannot be successfully completed.
|
String |
getId()
The ID of the data source.
|
Integer |
getLastRunAssetCount()
The number of assets created by the data source during its last run.
|
Date |
getLastRunAt()
The timestamp of the last run of the data source.
|
DataSourceErrorMessage |
getLastRunErrorMessage()
Specifies the error message that is returned if the operation cannot be successfully completed.
|
String |
getLastRunStatus()
The status of the last run of the data source.
|
String |
getName()
The name of the data source.
|
String |
getProjectId()
The ID of the project where the data source creates and publishes assets.
|
Boolean |
getPublishOnImport()
Specifies whether the assets that this data source creates in the inventory are to be also automatically
published to the catalog.
|
RecommendationConfiguration |
getRecommendation()
The recommendation configuration of the data source.
|
ScheduleConfiguration |
getSchedule()
The schedule of the data source runs.
|
SelfGrantStatusOutput |
getSelfGrantStatus()
Specifies the status of the self-granting functionality.
|
String |
getStatus()
The status of the data source.
|
String |
getType()
The type of the data source.
|
Date |
getUpdatedAt()
The timestamp of when the data source was updated.
|
int |
hashCode() |
Boolean |
isPublishOnImport()
Specifies whether the assets that this data source creates in the inventory are to be also automatically
published to the catalog.
|
void |
setAssetFormsOutput(Collection<FormOutput> assetFormsOutput)
The metadata forms attached to the assets created by this data source.
|
void |
setConfiguration(DataSourceConfigurationOutput configuration)
The configuration of the data source.
|
void |
setCreatedAt(Date createdAt)
The timestamp of when the data source was created.
|
void |
setDescription(String description)
The description of the data source.
|
void |
setDomainId(String domainId)
The ID of the Amazon DataZone domain in which the data source exists.
|
void |
setEnableSetting(String enableSetting)
Specifies whether this data source is enabled or not.
|
void |
setEnvironmentId(String environmentId)
The ID of the environment where this data source creates and publishes assets,
|
void |
setErrorMessage(DataSourceErrorMessage errorMessage)
Specifies the error message that is returned if the operation cannot be successfully completed.
|
void |
setId(String id)
The ID of the data source.
|
void |
setLastRunAssetCount(Integer lastRunAssetCount)
The number of assets created by the data source during its last run.
|
void |
setLastRunAt(Date lastRunAt)
The timestamp of the last run of the data source.
|
void |
setLastRunErrorMessage(DataSourceErrorMessage lastRunErrorMessage)
Specifies the error message that is returned if the operation cannot be successfully completed.
|
void |
setLastRunStatus(String lastRunStatus)
The status of the last run of the data source.
|
void |
setName(String name)
The name of the data source.
|
void |
setProjectId(String projectId)
The ID of the project where the data source creates and publishes assets.
|
void |
setPublishOnImport(Boolean publishOnImport)
Specifies whether the assets that this data source creates in the inventory are to be also automatically
published to the catalog.
|
void |
setRecommendation(RecommendationConfiguration recommendation)
The recommendation configuration of the data source.
|
void |
setSchedule(ScheduleConfiguration schedule)
The schedule of the data source runs.
|
void |
setSelfGrantStatus(SelfGrantStatusOutput selfGrantStatus)
Specifies the status of the self-granting functionality.
|
void |
setStatus(String status)
The status of the data source.
|
void |
setType(String type)
The type of the data source.
|
void |
setUpdatedAt(Date updatedAt)
The timestamp of when the data source was updated.
|
String |
toString()
Returns a string representation of this object.
|
GetDataSourceResult |
withAssetFormsOutput(Collection<FormOutput> assetFormsOutput)
The metadata forms attached to the assets created by this data source.
|
GetDataSourceResult |
withAssetFormsOutput(FormOutput... assetFormsOutput)
The metadata forms attached to the assets created by this data source.
|
GetDataSourceResult |
withConfiguration(DataSourceConfigurationOutput configuration)
The configuration of the data source.
|
GetDataSourceResult |
withCreatedAt(Date createdAt)
The timestamp of when the data source was created.
|
GetDataSourceResult |
withDescription(String description)
The description of the data source.
|
GetDataSourceResult |
withDomainId(String domainId)
The ID of the Amazon DataZone domain in which the data source exists.
|
GetDataSourceResult |
withEnableSetting(EnableSetting enableSetting)
Specifies whether this data source is enabled or not.
|
GetDataSourceResult |
withEnableSetting(String enableSetting)
Specifies whether this data source is enabled or not.
|
GetDataSourceResult |
withEnvironmentId(String environmentId)
The ID of the environment where this data source creates and publishes assets,
|
GetDataSourceResult |
withErrorMessage(DataSourceErrorMessage errorMessage)
Specifies the error message that is returned if the operation cannot be successfully completed.
|
GetDataSourceResult |
withId(String id)
The ID of the data source.
|
GetDataSourceResult |
withLastRunAssetCount(Integer lastRunAssetCount)
The number of assets created by the data source during its last run.
|
GetDataSourceResult |
withLastRunAt(Date lastRunAt)
The timestamp of the last run of the data source.
|
GetDataSourceResult |
withLastRunErrorMessage(DataSourceErrorMessage lastRunErrorMessage)
Specifies the error message that is returned if the operation cannot be successfully completed.
|
GetDataSourceResult |
withLastRunStatus(DataSourceRunStatus lastRunStatus)
The status of the last run of the data source.
|
GetDataSourceResult |
withLastRunStatus(String lastRunStatus)
The status of the last run of the data source.
|
GetDataSourceResult |
withName(String name)
The name of the data source.
|
GetDataSourceResult |
withProjectId(String projectId)
The ID of the project where the data source creates and publishes assets.
|
GetDataSourceResult |
withPublishOnImport(Boolean publishOnImport)
Specifies whether the assets that this data source creates in the inventory are to be also automatically
published to the catalog.
|
GetDataSourceResult |
withRecommendation(RecommendationConfiguration recommendation)
The recommendation configuration of the data source.
|
GetDataSourceResult |
withSchedule(ScheduleConfiguration schedule)
The schedule of the data source runs.
|
GetDataSourceResult |
withSelfGrantStatus(SelfGrantStatusOutput selfGrantStatus)
Specifies the status of the self-granting functionality.
|
GetDataSourceResult |
withStatus(DataSourceStatus status)
The status of the data source.
|
GetDataSourceResult |
withStatus(String status)
The status of the data source.
|
GetDataSourceResult |
withType(String type)
The type of the data source.
|
GetDataSourceResult |
withUpdatedAt(Date updatedAt)
The timestamp of when the data source was updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<FormOutput> getAssetFormsOutput()
The metadata forms attached to the assets created by this data source.
public void setAssetFormsOutput(Collection<FormOutput> assetFormsOutput)
The metadata forms attached to the assets created by this data source.
assetFormsOutput
- The metadata forms attached to the assets created by this data source.public GetDataSourceResult withAssetFormsOutput(FormOutput... assetFormsOutput)
The metadata forms attached to the assets created by this data source.
NOTE: This method appends the values to the existing list (if any). Use
setAssetFormsOutput(java.util.Collection)
or withAssetFormsOutput(java.util.Collection)
if you
want to override the existing values.
assetFormsOutput
- The metadata forms attached to the assets created by this data source.public GetDataSourceResult withAssetFormsOutput(Collection<FormOutput> assetFormsOutput)
The metadata forms attached to the assets created by this data source.
assetFormsOutput
- The metadata forms attached to the assets created by this data source.public void setConfiguration(DataSourceConfigurationOutput configuration)
The configuration of the data source.
configuration
- The configuration of the data source.public DataSourceConfigurationOutput getConfiguration()
The configuration of the data source.
public GetDataSourceResult withConfiguration(DataSourceConfigurationOutput configuration)
The configuration of the data source.
configuration
- The configuration of the data source.public void setCreatedAt(Date createdAt)
The timestamp of when the data source was created.
createdAt
- The timestamp of when the data source was created.public Date getCreatedAt()
The timestamp of when the data source was created.
public GetDataSourceResult withCreatedAt(Date createdAt)
The timestamp of when the data source was created.
createdAt
- The timestamp of when the data source was created.public void setDescription(String description)
The description of the data source.
description
- The description of the data source.public String getDescription()
The description of the data source.
public GetDataSourceResult withDescription(String description)
The description of the data source.
description
- The description of the data source.public void setDomainId(String domainId)
The ID of the Amazon DataZone domain in which the data source exists.
domainId
- The ID of the Amazon DataZone domain in which the data source exists.public String getDomainId()
The ID of the Amazon DataZone domain in which the data source exists.
public GetDataSourceResult withDomainId(String domainId)
The ID of the Amazon DataZone domain in which the data source exists.
domainId
- The ID of the Amazon DataZone domain in which the data source exists.public void setEnableSetting(String enableSetting)
Specifies whether this data source is enabled or not.
enableSetting
- Specifies whether this data source is enabled or not.EnableSetting
public String getEnableSetting()
Specifies whether this data source is enabled or not.
EnableSetting
public GetDataSourceResult withEnableSetting(String enableSetting)
Specifies whether this data source is enabled or not.
enableSetting
- Specifies whether this data source is enabled or not.EnableSetting
public GetDataSourceResult withEnableSetting(EnableSetting enableSetting)
Specifies whether this data source is enabled or not.
enableSetting
- Specifies whether this data source is enabled or not.EnableSetting
public void setEnvironmentId(String environmentId)
The ID of the environment where this data source creates and publishes assets,
environmentId
- The ID of the environment where this data source creates and publishes assets,public String getEnvironmentId()
The ID of the environment where this data source creates and publishes assets,
public GetDataSourceResult withEnvironmentId(String environmentId)
The ID of the environment where this data source creates and publishes assets,
environmentId
- The ID of the environment where this data source creates and publishes assets,public void setErrorMessage(DataSourceErrorMessage errorMessage)
Specifies the error message that is returned if the operation cannot be successfully completed.
errorMessage
- Specifies the error message that is returned if the operation cannot be successfully completed.public DataSourceErrorMessage getErrorMessage()
Specifies the error message that is returned if the operation cannot be successfully completed.
public GetDataSourceResult withErrorMessage(DataSourceErrorMessage errorMessage)
Specifies the error message that is returned if the operation cannot be successfully completed.
errorMessage
- Specifies the error message that is returned if the operation cannot be successfully completed.public void setId(String id)
The ID of the data source.
id
- The ID of the data source.public String getId()
The ID of the data source.
public GetDataSourceResult withId(String id)
The ID of the data source.
id
- The ID of the data source.public void setLastRunAssetCount(Integer lastRunAssetCount)
The number of assets created by the data source during its last run.
lastRunAssetCount
- The number of assets created by the data source during its last run.public Integer getLastRunAssetCount()
The number of assets created by the data source during its last run.
public GetDataSourceResult withLastRunAssetCount(Integer lastRunAssetCount)
The number of assets created by the data source during its last run.
lastRunAssetCount
- The number of assets created by the data source during its last run.public void setLastRunAt(Date lastRunAt)
The timestamp of the last run of the data source.
lastRunAt
- The timestamp of the last run of the data source.public Date getLastRunAt()
The timestamp of the last run of the data source.
public GetDataSourceResult withLastRunAt(Date lastRunAt)
The timestamp of the last run of the data source.
lastRunAt
- The timestamp of the last run of the data source.public void setLastRunErrorMessage(DataSourceErrorMessage lastRunErrorMessage)
Specifies the error message that is returned if the operation cannot be successfully completed.
lastRunErrorMessage
- Specifies the error message that is returned if the operation cannot be successfully completed.public DataSourceErrorMessage getLastRunErrorMessage()
Specifies the error message that is returned if the operation cannot be successfully completed.
public GetDataSourceResult withLastRunErrorMessage(DataSourceErrorMessage lastRunErrorMessage)
Specifies the error message that is returned if the operation cannot be successfully completed.
lastRunErrorMessage
- Specifies the error message that is returned if the operation cannot be successfully completed.public void setLastRunStatus(String lastRunStatus)
The status of the last run of the data source.
lastRunStatus
- The status of the last run of the data source.DataSourceRunStatus
public String getLastRunStatus()
The status of the last run of the data source.
DataSourceRunStatus
public GetDataSourceResult withLastRunStatus(String lastRunStatus)
The status of the last run of the data source.
lastRunStatus
- The status of the last run of the data source.DataSourceRunStatus
public GetDataSourceResult withLastRunStatus(DataSourceRunStatus lastRunStatus)
The status of the last run of the data source.
lastRunStatus
- The status of the last run of the data source.DataSourceRunStatus
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 GetDataSourceResult withName(String name)
The name of the data source.
name
- The name of the data source.public void setProjectId(String projectId)
The ID of the project where the data source creates and publishes assets.
projectId
- The ID of the project where the data source creates and publishes assets.public String getProjectId()
The ID of the project where the data source creates and publishes assets.
public GetDataSourceResult withProjectId(String projectId)
The ID of the project where the data source creates and publishes assets.
projectId
- The ID of the project where the data source creates and publishes assets.public void setPublishOnImport(Boolean publishOnImport)
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
publishOnImport
- Specifies whether the assets that this data source creates in the inventory are to be also automatically
published to the catalog.public Boolean getPublishOnImport()
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
public GetDataSourceResult withPublishOnImport(Boolean publishOnImport)
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
publishOnImport
- Specifies whether the assets that this data source creates in the inventory are to be also automatically
published to the catalog.public Boolean isPublishOnImport()
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
public void setRecommendation(RecommendationConfiguration recommendation)
The recommendation configuration of the data source.
recommendation
- The recommendation configuration of the data source.public RecommendationConfiguration getRecommendation()
The recommendation configuration of the data source.
public GetDataSourceResult withRecommendation(RecommendationConfiguration recommendation)
The recommendation configuration of the data source.
recommendation
- The recommendation configuration of the data source.public void setSchedule(ScheduleConfiguration schedule)
The schedule of the data source runs.
schedule
- The schedule of the data source runs.public ScheduleConfiguration getSchedule()
The schedule of the data source runs.
public GetDataSourceResult withSchedule(ScheduleConfiguration schedule)
The schedule of the data source runs.
schedule
- The schedule of the data source runs.public void setSelfGrantStatus(SelfGrantStatusOutput selfGrantStatus)
Specifies the status of the self-granting functionality.
selfGrantStatus
- Specifies the status of the self-granting functionality.public SelfGrantStatusOutput getSelfGrantStatus()
Specifies the status of the self-granting functionality.
public GetDataSourceResult withSelfGrantStatus(SelfGrantStatusOutput selfGrantStatus)
Specifies the status of the self-granting functionality.
selfGrantStatus
- Specifies the status of the self-granting functionality.public void setStatus(String status)
The status of the data source.
status
- The status of the data source.DataSourceStatus
public String getStatus()
The status of the data source.
DataSourceStatus
public GetDataSourceResult withStatus(String status)
The status of the data source.
status
- The status of the data source.DataSourceStatus
public GetDataSourceResult withStatus(DataSourceStatus status)
The status of the data source.
status
- The status of the data source.DataSourceStatus
public void setType(String type)
The type of the data source.
type
- The type of the data source.public String getType()
The type of the data source.
public GetDataSourceResult withType(String type)
The type of the data source.
type
- The type of the data source.public void setUpdatedAt(Date updatedAt)
The timestamp of when the data source was updated.
updatedAt
- The timestamp of when the data source was updated.public Date getUpdatedAt()
The timestamp of when the data source was updated.
public GetDataSourceResult withUpdatedAt(Date updatedAt)
The timestamp of when the data source was updated.
updatedAt
- The timestamp of when the data source was updated.public String toString()
toString
in class Object
Object.toString()
public GetDataSourceResult clone()