aws.sdk.kotlin.services.sagemaker.model.DescribeDataQualityJobDefinitionResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sagemaker.model
import aws.smithy.kotlin.runtime.time.Instant
class DescribeDataQualityJobDefinitionResponse private constructor(builder: Builder) {
/**
* The time that the data quality monitoring job definition was created.
*/
val creationTime: aws.smithy.kotlin.runtime.time.Instant? = builder.creationTime
/**
* Information about the container that runs the data quality monitoring job.
*/
val dataQualityAppSpecification: aws.sdk.kotlin.services.sagemaker.model.DataQualityAppSpecification? = builder.dataQualityAppSpecification
/**
* The constraints and baselines for the data quality monitoring job definition.
*/
val dataQualityBaselineConfig: aws.sdk.kotlin.services.sagemaker.model.DataQualityBaselineConfig? = builder.dataQualityBaselineConfig
/**
* The list of inputs for the data quality monitoring job. Currently endpoints are
* supported.
*/
val dataQualityJobInput: aws.sdk.kotlin.services.sagemaker.model.DataQualityJobInput? = builder.dataQualityJobInput
/**
* The output configuration for monitoring jobs.
*/
val dataQualityJobOutputConfig: aws.sdk.kotlin.services.sagemaker.model.MonitoringOutputConfig? = builder.dataQualityJobOutputConfig
/**
* The Amazon Resource Name (ARN) of the data quality monitoring job definition.
*/
val jobDefinitionArn: kotlin.String? = builder.jobDefinitionArn
/**
* The name of the data quality monitoring job definition.
*/
val jobDefinitionName: kotlin.String? = builder.jobDefinitionName
/**
* Identifies the resources to deploy for a monitoring job.
*/
val jobResources: aws.sdk.kotlin.services.sagemaker.model.MonitoringResources? = builder.jobResources
/**
* The networking configuration for the data quality monitoring job.
*/
val networkConfig: aws.sdk.kotlin.services.sagemaker.model.MonitoringNetworkConfig? = builder.networkConfig
/**
* The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to
* perform tasks on your behalf.
*/
val roleArn: kotlin.String? = builder.roleArn
/**
* A time limit for how long the monitoring job is allowed to run before stopping.
*/
val stoppingCondition: aws.sdk.kotlin.services.sagemaker.model.MonitoringStoppingCondition? = builder.stoppingCondition
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.sagemaker.model.DescribeDataQualityJobDefinitionResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeDataQualityJobDefinitionResponse(")
append("creationTime=$creationTime,")
append("dataQualityAppSpecification=$dataQualityAppSpecification,")
append("dataQualityBaselineConfig=$dataQualityBaselineConfig,")
append("dataQualityJobInput=$dataQualityJobInput,")
append("dataQualityJobOutputConfig=$dataQualityJobOutputConfig,")
append("jobDefinitionArn=$jobDefinitionArn,")
append("jobDefinitionName=$jobDefinitionName,")
append("jobResources=$jobResources,")
append("networkConfig=$networkConfig,")
append("roleArn=$roleArn,")
append("stoppingCondition=$stoppingCondition)")
}
override fun hashCode(): kotlin.Int {
var result = creationTime?.hashCode() ?: 0
result = 31 * result + (dataQualityAppSpecification?.hashCode() ?: 0)
result = 31 * result + (dataQualityBaselineConfig?.hashCode() ?: 0)
result = 31 * result + (dataQualityJobInput?.hashCode() ?: 0)
result = 31 * result + (dataQualityJobOutputConfig?.hashCode() ?: 0)
result = 31 * result + (jobDefinitionArn?.hashCode() ?: 0)
result = 31 * result + (jobDefinitionName?.hashCode() ?: 0)
result = 31 * result + (jobResources?.hashCode() ?: 0)
result = 31 * result + (networkConfig?.hashCode() ?: 0)
result = 31 * result + (roleArn?.hashCode() ?: 0)
result = 31 * result + (stoppingCondition?.hashCode() ?: 0)
return result
}
override fun equals(other: kotlin.Any?): kotlin.Boolean {
if (this === other) return true
if (other == null || this::class != other::class) return false
other as DescribeDataQualityJobDefinitionResponse
if (creationTime != other.creationTime) return false
if (dataQualityAppSpecification != other.dataQualityAppSpecification) return false
if (dataQualityBaselineConfig != other.dataQualityBaselineConfig) return false
if (dataQualityJobInput != other.dataQualityJobInput) return false
if (dataQualityJobOutputConfig != other.dataQualityJobOutputConfig) return false
if (jobDefinitionArn != other.jobDefinitionArn) return false
if (jobDefinitionName != other.jobDefinitionName) return false
if (jobResources != other.jobResources) return false
if (networkConfig != other.networkConfig) return false
if (roleArn != other.roleArn) return false
if (stoppingCondition != other.stoppingCondition) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.sagemaker.model.DescribeDataQualityJobDefinitionResponse = Builder(this).apply(block).build()
class Builder {
/**
* The time that the data quality monitoring job definition was created.
*/
var creationTime: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* Information about the container that runs the data quality monitoring job.
*/
var dataQualityAppSpecification: aws.sdk.kotlin.services.sagemaker.model.DataQualityAppSpecification? = null
/**
* The constraints and baselines for the data quality monitoring job definition.
*/
var dataQualityBaselineConfig: aws.sdk.kotlin.services.sagemaker.model.DataQualityBaselineConfig? = null
/**
* The list of inputs for the data quality monitoring job. Currently endpoints are
* supported.
*/
var dataQualityJobInput: aws.sdk.kotlin.services.sagemaker.model.DataQualityJobInput? = null
/**
* The output configuration for monitoring jobs.
*/
var dataQualityJobOutputConfig: aws.sdk.kotlin.services.sagemaker.model.MonitoringOutputConfig? = null
/**
* The Amazon Resource Name (ARN) of the data quality monitoring job definition.
*/
var jobDefinitionArn: kotlin.String? = null
/**
* The name of the data quality monitoring job definition.
*/
var jobDefinitionName: kotlin.String? = null
/**
* Identifies the resources to deploy for a monitoring job.
*/
var jobResources: aws.sdk.kotlin.services.sagemaker.model.MonitoringResources? = null
/**
* The networking configuration for the data quality monitoring job.
*/
var networkConfig: aws.sdk.kotlin.services.sagemaker.model.MonitoringNetworkConfig? = null
/**
* The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to
* perform tasks on your behalf.
*/
var roleArn: kotlin.String? = null
/**
* A time limit for how long the monitoring job is allowed to run before stopping.
*/
var stoppingCondition: aws.sdk.kotlin.services.sagemaker.model.MonitoringStoppingCondition? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.sagemaker.model.DescribeDataQualityJobDefinitionResponse) : this() {
this.creationTime = x.creationTime
this.dataQualityAppSpecification = x.dataQualityAppSpecification
this.dataQualityBaselineConfig = x.dataQualityBaselineConfig
this.dataQualityJobInput = x.dataQualityJobInput
this.dataQualityJobOutputConfig = x.dataQualityJobOutputConfig
this.jobDefinitionArn = x.jobDefinitionArn
this.jobDefinitionName = x.jobDefinitionName
this.jobResources = x.jobResources
this.networkConfig = x.networkConfig
this.roleArn = x.roleArn
this.stoppingCondition = x.stoppingCondition
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.sagemaker.model.DescribeDataQualityJobDefinitionResponse = DescribeDataQualityJobDefinitionResponse(this)
/**
* construct an [aws.sdk.kotlin.services.sagemaker.model.DataQualityAppSpecification] inside the given [block]
*/
fun dataQualityAppSpecification(block: aws.sdk.kotlin.services.sagemaker.model.DataQualityAppSpecification.Builder.() -> kotlin.Unit) {
this.dataQualityAppSpecification = aws.sdk.kotlin.services.sagemaker.model.DataQualityAppSpecification.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.sagemaker.model.DataQualityBaselineConfig] inside the given [block]
*/
fun dataQualityBaselineConfig(block: aws.sdk.kotlin.services.sagemaker.model.DataQualityBaselineConfig.Builder.() -> kotlin.Unit) {
this.dataQualityBaselineConfig = aws.sdk.kotlin.services.sagemaker.model.DataQualityBaselineConfig.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.sagemaker.model.DataQualityJobInput] inside the given [block]
*/
fun dataQualityJobInput(block: aws.sdk.kotlin.services.sagemaker.model.DataQualityJobInput.Builder.() -> kotlin.Unit) {
this.dataQualityJobInput = aws.sdk.kotlin.services.sagemaker.model.DataQualityJobInput.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.sagemaker.model.MonitoringOutputConfig] inside the given [block]
*/
fun dataQualityJobOutputConfig(block: aws.sdk.kotlin.services.sagemaker.model.MonitoringOutputConfig.Builder.() -> kotlin.Unit) {
this.dataQualityJobOutputConfig = aws.sdk.kotlin.services.sagemaker.model.MonitoringOutputConfig.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.sagemaker.model.MonitoringResources] inside the given [block]
*/
fun jobResources(block: aws.sdk.kotlin.services.sagemaker.model.MonitoringResources.Builder.() -> kotlin.Unit) {
this.jobResources = aws.sdk.kotlin.services.sagemaker.model.MonitoringResources.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.sagemaker.model.MonitoringNetworkConfig] inside the given [block]
*/
fun networkConfig(block: aws.sdk.kotlin.services.sagemaker.model.MonitoringNetworkConfig.Builder.() -> kotlin.Unit) {
this.networkConfig = aws.sdk.kotlin.services.sagemaker.model.MonitoringNetworkConfig.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.sagemaker.model.MonitoringStoppingCondition] inside the given [block]
*/
fun stoppingCondition(block: aws.sdk.kotlin.services.sagemaker.model.MonitoringStoppingCondition.Builder.() -> kotlin.Unit) {
this.stoppingCondition = aws.sdk.kotlin.services.sagemaker.model.MonitoringStoppingCondition.invoke(block)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy