@Generated(value="software.amazon.awssdk:codegen") public final class CreateDataSourceResponse extends DataZoneResponse implements ToCopyableBuilder<CreateDataSourceResponse.Builder,CreateDataSourceResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDataSourceResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<FormOutput> |
assetFormsOutput()
The metadata forms attached to the assets that this data source creates.
|
static CreateDataSourceResponse.Builder |
builder() |
DataSourceConfigurationOutput |
configuration()
Specifies 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 is created.
|
EnableSetting |
enableSetting()
Specifies whether the data source is enabled.
|
String |
enableSettingAsString()
Specifies whether the data source is enabled.
|
String |
environmentId()
The unique identifier of the Amazon DataZone environment to which the data source 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 unique identifier of the data source.
|
Instant |
lastRunAt()
The timestamp that specifies when the data source was last run.
|
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 this data source.
|
String |
lastRunStatusAsString()
The status of the last run of this data source.
|
String |
name()
The name of the data source.
|
String |
projectId()
The ID of the Amazon DataZone project to which the data source is added.
|
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()
Specifies whether the business name generation is to be enabled for this data source.
|
ScheduleConfiguration |
schedule()
The schedule of the data source runs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDataSourceResponse.Builder> |
serializableBuilderClass() |
DataSourceStatus |
status()
The status of the data source.
|
String |
statusAsString()
The status of the data source.
|
CreateDataSourceResponse.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 that this data source creates.
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()
Specifies the configuration of the data source. It can be set to either glueRunConfiguration or
redshiftRunConfiguration.
glueRunConfiguration
or redshiftRunConfiguration.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 is created.
public final EnableSetting enableSetting()
Specifies whether the data source is enabled.
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 the data source is enabled.
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 unique identifier of the Amazon DataZone environment to which the data source 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 unique identifier of the data source.
public final Instant lastRunAt()
The timestamp that specifies when the data source was last run.
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 this 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 this 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 Amazon DataZone project to which the data source is added.
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()
Specifies whether the business name generation is to be enabled for this data source.
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 CreateDataSourceResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateDataSourceResponse.Builder,CreateDataSourceResponse>toBuilder in class AwsResponsepublic static CreateDataSourceResponse.Builder builder()
public static Class<? extends CreateDataSourceResponse.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.