Class DataSourceSummary
- java.lang.Object
-
- software.amazon.awssdk.services.datazone.model.DataSourceSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataSourceSummary.Builder,DataSourceSummary>
@Generated("software.amazon.awssdk:codegen") public final class DataSourceSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataSourceSummary.Builder,DataSourceSummary>
The details of the data source.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataSourceSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataSourceSummary.Builderbuilder()InstantcreatedAt()The timestamp of when the data source was created.StringdataSourceId()The ID of the data source.StringdomainId()The ID of the Amazon DataZone domain in which the data source exists.EnableSettingenableSetting()Specifies whether the data source is enabled.StringenableSettingAsString()Specifies whether the data source is enabled.StringenvironmentId()The ID of the environment in which the data source exists.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerlastRunAssetCount()The count of the assets created during the last data source run.InstantlastRunAt()The timestamp of when the data source run was last performed.DataSourceErrorMessagelastRunErrorMessage()Returns the value of the LastRunErrorMessage property for this object.DataSourceRunStatuslastRunStatus()The status of the last data source run.StringlastRunStatusAsString()The status of the last data source run.Stringname()The name of the data source.ScheduleConfigurationschedule()Returns the value of the Schedule property for this object.List<SdkField<?>>sdkFields()static Class<? extends DataSourceSummary.Builder>serializableBuilderClass()DataSourceStatusstatus()The status of the data source.StringstatusAsString()The status of the data source.DataSourceSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of the data source.InstantupdatedAt()The timestamp of when the data source was updated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
createdAt
public final Instant createdAt()
The timestamp of when the data source was created.
- Returns:
- The timestamp of when the data source was created.
-
dataSourceId
public final String dataSourceId()
The ID of the data source.
- Returns:
- The ID of the data source.
-
domainId
public final String domainId()
The ID of the Amazon DataZone domain in which the data source exists.
- Returns:
- The ID of the Amazon DataZone domain in which the data source exists.
-
enableSetting
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,
enableSettingwill returnEnableSetting.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromenableSettingAsString().- Returns:
- Specifies whether the data source is enabled.
- See Also:
EnableSetting
-
enableSettingAsString
public 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,
enableSettingwill returnEnableSetting.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromenableSettingAsString().- Returns:
- Specifies whether the data source is enabled.
- See Also:
EnableSetting
-
environmentId
public final String environmentId()
The ID of the environment in which the data source exists.
- Returns:
- The ID of the environment in which the data source exists.
-
lastRunAssetCount
public final Integer lastRunAssetCount()
The count of the assets created during the last data source run.
- Returns:
- The count of the assets created during the last data source run.
-
lastRunAt
public final Instant lastRunAt()
The timestamp of when the data source run was last performed.
- Returns:
- The timestamp of when the data source run was last performed.
-
lastRunErrorMessage
public final DataSourceErrorMessage lastRunErrorMessage()
Returns the value of the LastRunErrorMessage property for this object.- Returns:
- The value of the LastRunErrorMessage property for this object.
-
lastRunStatus
public final DataSourceRunStatus lastRunStatus()
The status of the last data source run.
If the service returns an enum value that is not available in the current SDK version,
lastRunStatuswill returnDataSourceRunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastRunStatusAsString().- Returns:
- The status of the last data source run.
- See Also:
DataSourceRunStatus
-
lastRunStatusAsString
public final String lastRunStatusAsString()
The status of the last data source run.
If the service returns an enum value that is not available in the current SDK version,
lastRunStatuswill returnDataSourceRunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastRunStatusAsString().- Returns:
- The status of the last data source run.
- See Also:
DataSourceRunStatus
-
name
public final String name()
The name of the data source.
- Returns:
- The name of the data source.
-
schedule
public final ScheduleConfiguration schedule()
Returns the value of the Schedule property for this object.- Returns:
- The value of the Schedule property for this object.
-
status
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,
statuswill returnDataSourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the data source.
- See Also:
DataSourceStatus
-
statusAsString
public 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,
statuswill returnDataSourceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the data source.
- See Also:
DataSourceStatus
-
type
public final String type()
The type of the data source.
- Returns:
- The type of the data source.
-
updatedAt
public final Instant updatedAt()
The timestamp of when the data source was updated.
- Returns:
- The timestamp of when the data source was updated.
-
toBuilder
public DataSourceSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataSourceSummary.Builder,DataSourceSummary>
-
builder
public static DataSourceSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataSourceSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-