Class GetDataQualityRulesetEvaluationRunResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.glue.model.GlueResponse
-
- software.amazon.awssdk.services.glue.model.GetDataQualityRulesetEvaluationRunResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetDataQualityRulesetEvaluationRunResponse.Builder,GetDataQualityRulesetEvaluationRunResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetDataQualityRulesetEvaluationRunResponse extends GlueResponse implements ToCopyableBuilder<GetDataQualityRulesetEvaluationRunResponse.Builder,GetDataQualityRulesetEvaluationRunResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetDataQualityRulesetEvaluationRunResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,DataSource>additionalDataSources()A map of reference strings to additional data sources you can specify for an evaluation run.DataQualityEvaluationRunAdditionalRunOptionsadditionalRunOptions()Additional run options you can specify for an evaluation run.static GetDataQualityRulesetEvaluationRunResponse.Builderbuilder()InstantcompletedOn()The date and time when this run was completed.DataSourcedataSource()The data source (an Glue table) associated with this evaluation run.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorString()The error strings that are associated with the run.IntegerexecutionTime()The amount of time (in seconds) that the run consumed resources.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAdditionalDataSources()For responses, this returns true if the service returned a value for the AdditionalDataSources property.inthashCode()booleanhasResultIds()For responses, this returns true if the service returned a value for the ResultIds property.booleanhasRulesetNames()For responses, this returns true if the service returned a value for the RulesetNames property.InstantlastModifiedOn()A timestamp.IntegernumberOfWorkers()The number ofG.1Xworkers to be used in the run.List<String>resultIds()A list of result IDs for the data quality results for the run.Stringrole()An IAM role supplied to encrypt the results of the run.List<String>rulesetNames()A list of ruleset names for the run.StringrunId()The unique run identifier associated with this run.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetDataQualityRulesetEvaluationRunResponse.Builder>serializableBuilderClass()InstantstartedOn()The date and time when this run started.TaskStatusTypestatus()The status for this run.StringstatusAsString()The status for this run.Integertimeout()The timeout for a run in minutes.GetDataQualityRulesetEvaluationRunResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.glue.model.GlueResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
runId
public final String runId()
The unique run identifier associated with this run.
- Returns:
- The unique run identifier associated with this run.
-
dataSource
public final DataSource dataSource()
The data source (an Glue table) associated with this evaluation run.
- Returns:
- The data source (an Glue table) associated with this evaluation run.
-
role
public final String role()
An IAM role supplied to encrypt the results of the run.
- Returns:
- An IAM role supplied to encrypt the results of the run.
-
numberOfWorkers
public final Integer numberOfWorkers()
The number of
G.1Xworkers to be used in the run. The default is 5.- Returns:
- The number of
G.1Xworkers to be used in the run. The default is 5.
-
timeout
public final Integer timeout()
The timeout for a run in minutes. This is the maximum time that a run can consume resources before it is terminated and enters
TIMEOUTstatus. The default is 2,880 minutes (48 hours).- Returns:
- The timeout for a run in minutes. This is the maximum time that a run can consume resources before it is
terminated and enters
TIMEOUTstatus. The default is 2,880 minutes (48 hours).
-
additionalRunOptions
public final DataQualityEvaluationRunAdditionalRunOptions additionalRunOptions()
Additional run options you can specify for an evaluation run.
- Returns:
- Additional run options you can specify for an evaluation run.
-
status
public final TaskStatusType status()
The status for this run.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTaskStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status for this run.
- See Also:
TaskStatusType
-
statusAsString
public final String statusAsString()
The status for this run.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTaskStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status for this run.
- See Also:
TaskStatusType
-
errorString
public final String errorString()
The error strings that are associated with the run.
- Returns:
- The error strings that are associated with the run.
-
startedOn
public final Instant startedOn()
The date and time when this run started.
- Returns:
- The date and time when this run started.
-
lastModifiedOn
public final Instant lastModifiedOn()
A timestamp. The last point in time when this data quality rule recommendation run was modified.
- Returns:
- A timestamp. The last point in time when this data quality rule recommendation run was modified.
-
completedOn
public final Instant completedOn()
The date and time when this run was completed.
- Returns:
- The date and time when this run was completed.
-
executionTime
public final Integer executionTime()
The amount of time (in seconds) that the run consumed resources.
- Returns:
- The amount of time (in seconds) that the run consumed resources.
-
hasRulesetNames
public final boolean hasRulesetNames()
For responses, this returns true if the service returned a value for the RulesetNames 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.
-
rulesetNames
public final List<String> rulesetNames()
A list of ruleset names for the run. Currently, this parameter takes only one Ruleset name.
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
hasRulesetNames()method.- Returns:
- A list of ruleset names for the run. Currently, this parameter takes only one Ruleset name.
-
hasResultIds
public final boolean hasResultIds()
For responses, this returns true if the service returned a value for the ResultIds 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.
-
resultIds
public final List<String> resultIds()
A list of result IDs for the data quality results for the 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
hasResultIds()method.- Returns:
- A list of result IDs for the data quality results for the run.
-
hasAdditionalDataSources
public final boolean hasAdditionalDataSources()
For responses, this returns true if the service returned a value for the AdditionalDataSources 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.
-
additionalDataSources
public final Map<String,DataSource> additionalDataSources()
A map of reference strings to additional data sources you can specify for an evaluation 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
hasAdditionalDataSources()method.- Returns:
- A map of reference strings to additional data sources you can specify for an evaluation run.
-
toBuilder
public GetDataQualityRulesetEvaluationRunResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetDataQualityRulesetEvaluationRunResponse.Builder,GetDataQualityRulesetEvaluationRunResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetDataQualityRulesetEvaluationRunResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetDataQualityRulesetEvaluationRunResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-