@Generated(value="software.amazon.awssdk:codegen") public final class GetDataSourceResponse extends DataZoneResponse implements ToCopyableBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetDataSourceResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<FormOutput> |
assetFormsOutput()
The metadata forms attached to the assets created by this data source.
|
static GetDataSourceResponse.Builder |
builder() |
DataSourceConfigurationOutput |
configuration()
The configuration of the data source.
|
Instant |
createdAt()
The timestamp of when the data source was created.
|
String |
description()
The description of the data source.
|
String |
domainId()
The ID of the Amazon DataZone domain in which the data source exists.
|
EnableSetting |
enableSetting()
Specifies whether this data source is enabled or not.
|
String |
enableSettingAsString()
Specifies whether this data source is enabled or not.
|
String |
environmentId()
The ID of the environment where this data source creates and publishes assets,
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
DataSourceErrorMessage |
errorMessage()
Specifies the error message that is returned if the operation cannot be successfully completed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAssetFormsOutput()
For responses, this returns true if the service returned a value for the AssetFormsOutput property.
|
int |
hashCode() |
String |
id()
The ID of the data source.
|
Integer |
lastRunAssetCount()
The number of assets created by the data source during its last run.
|
Instant |
lastRunAt()
The timestamp of the last run of the data source.
|
DataSourceErrorMessage |
lastRunErrorMessage()
Specifies the error message that is returned if the operation cannot be successfully completed.
|
DataSourceRunStatus |
lastRunStatus()
The status of the last run of the data source.
|
String |
lastRunStatusAsString()
The status of the last run of the data source.
|
String |
name()
The name of the data source.
|
String |
projectId()
The ID of the project where the data source creates and publishes assets.
|
Boolean |
publishOnImport()
Specifies whether the assets that this data source creates in the inventory are to be also automatically
published to the catalog.
|
RecommendationConfiguration |
recommendation()
|
ScheduleConfiguration |
schedule()
The schedule of the data source runs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetDataSourceResponse.Builder> |
serializableBuilderClass() |
DataSourceStatus |
status()
The status of the data source.
|
String |
statusAsString()
The status of the data source.
|
GetDataSourceResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of the data source.
|
Instant |
updatedAt()
The timestamp of when the data source was updated.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAssetFormsOutput()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<FormOutput> assetFormsOutput()
The metadata forms attached to the assets created by this data source.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAssetFormsOutput() method.
public final DataSourceConfigurationOutput configuration()
The configuration of the data source.
public final Instant createdAt()
The timestamp of when the data source was created.
public final String description()
The description of the data source.
public final String domainId()
The ID of the Amazon DataZone domain in which the data source exists.
public final EnableSetting enableSetting()
Specifies whether this data source is enabled or not.
If the service returns an enum value that is not available in the current SDK version, enableSetting
will return EnableSetting.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
enableSettingAsString().
EnableSettingpublic final String enableSettingAsString()
Specifies whether this data source is enabled or not.
If the service returns an enum value that is not available in the current SDK version, enableSetting
will return EnableSetting.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
enableSettingAsString().
EnableSettingpublic final String environmentId()
The ID of the environment where this data source creates and publishes assets,
public final DataSourceErrorMessage errorMessage()
Specifies the error message that is returned if the operation cannot be successfully completed.
public final String id()
The ID of the data source.
public final Integer lastRunAssetCount()
The number of assets created by the data source during its last run.
public final Instant lastRunAt()
The timestamp of the last run of the data source.
public final DataSourceErrorMessage lastRunErrorMessage()
Specifies the error message that is returned if the operation cannot be successfully completed.
public final DataSourceRunStatus lastRunStatus()
The status of the last run of the data source.
If the service returns an enum value that is not available in the current SDK version, lastRunStatus
will return DataSourceRunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from lastRunStatusAsString().
DataSourceRunStatuspublic final String lastRunStatusAsString()
The status of the last run of the data source.
If the service returns an enum value that is not available in the current SDK version, lastRunStatus
will return DataSourceRunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from lastRunStatusAsString().
DataSourceRunStatuspublic final String name()
The name of the data source.
public final String projectId()
The ID of the project where the data source creates and publishes assets.
public final Boolean publishOnImport()
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
public final RecommendationConfiguration recommendation()
public final ScheduleConfiguration schedule()
The schedule of the data source runs.
public final DataSourceStatus status()
The status of the data source.
If the service returns an enum value that is not available in the current SDK version, status will
return DataSourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
DataSourceStatuspublic final String statusAsString()
The status of the data source.
If the service returns an enum value that is not available in the current SDK version, status will
return DataSourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
DataSourceStatuspublic final String type()
The type of the data source.
public final Instant updatedAt()
The timestamp of when the data source was updated.
public GetDataSourceResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetDataSourceResponse.Builder,GetDataSourceResponse>toBuilder in class AwsResponsepublic static GetDataSourceResponse.Builder builder()
public static Class<? extends GetDataSourceResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.