Class LineageSqlQueryRunDetails
- java.lang.Object
-
- software.amazon.awssdk.services.datazone.model.LineageSqlQueryRunDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LineageSqlQueryRunDetails.Builder,LineageSqlQueryRunDetails>
@Generated("software.amazon.awssdk:codegen") public final class LineageSqlQueryRunDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LineageSqlQueryRunDetails.Builder,LineageSqlQueryRunDetails>
The SQL query run details of a data lineage run.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLineageSqlQueryRunDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LineageSqlQueryRunDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)List<String>errorMessages()The error message of the SQL query run details of a data lineage run.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasErrorMessages()For responses, this returns true if the service returned a value for the ErrorMessages property.inthashCode()IntegernumQueriesFailed()The number of queries that failed in the SQL query run details of a data lineage run.InstantqueryEndTime()The query end time in the SQL query run details of a data lineage run.InstantqueryStartTime()The query start time in the SQL query run details of a data lineage run.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LineageSqlQueryRunDetails.Builder>serializableBuilderClass()LineageSqlQueryRunDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegertotalQueriesProcessed()The total queries processed in the SQL query run details of a data lineage run.-
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
-
hasErrorMessages
public final boolean hasErrorMessages()
For responses, this returns true if the service returned a value for the ErrorMessages property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
errorMessages
public final List<String> errorMessages()
The error message of the SQL query run details of a data lineage run.
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
hasErrorMessages()method.- Returns:
- The error message of the SQL query run details of a data lineage run.
-
numQueriesFailed
public final Integer numQueriesFailed()
The number of queries that failed in the SQL query run details of a data lineage run.
- Returns:
- The number of queries that failed in the SQL query run details of a data lineage run.
-
queryEndTime
public final Instant queryEndTime()
The query end time in the SQL query run details of a data lineage run.
- Returns:
- The query end time in the SQL query run details of a data lineage run.
-
queryStartTime
public final Instant queryStartTime()
The query start time in the SQL query run details of a data lineage run.
- Returns:
- The query start time in the SQL query run details of a data lineage run.
-
totalQueriesProcessed
public final Integer totalQueriesProcessed()
The total queries processed in the SQL query run details of a data lineage run.
- Returns:
- The total queries processed in the SQL query run details of a data lineage run.
-
toBuilder
public LineageSqlQueryRunDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LineageSqlQueryRunDetails.Builder,LineageSqlQueryRunDetails>
-
builder
public static LineageSqlQueryRunDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends LineageSqlQueryRunDetails.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-