commonMain.aws.sdk.kotlin.services.databrew.model.DescribeRulesetResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of databrew-jvm Show documentation
Show all versions of databrew-jvm Show documentation
The AWS Kotlin client for DataBrew
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.databrew.model
import aws.smithy.kotlin.runtime.time.Instant
public class DescribeRulesetResponse private constructor(builder: Builder) {
/**
* The date and time that the ruleset was created.
*/
public val createDate: aws.smithy.kotlin.runtime.time.Instant? = builder.createDate
/**
* The Amazon Resource Name (ARN) of the user who created the ruleset.
*/
public val createdBy: kotlin.String? = builder.createdBy
/**
* The description of the ruleset.
*/
public val description: kotlin.String? = builder.description
/**
* The Amazon Resource Name (ARN) of the user who last modified the ruleset.
*/
public val lastModifiedBy: kotlin.String? = builder.lastModifiedBy
/**
* The modification date and time of the ruleset.
*/
public val lastModifiedDate: aws.smithy.kotlin.runtime.time.Instant? = builder.lastModifiedDate
/**
* The name of the ruleset.
*/
public val name: kotlin.String? = builder.name
/**
* The Amazon Resource Name (ARN) for the ruleset.
*/
public val resourceArn: kotlin.String? = builder.resourceArn
/**
* A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a DataBrew dataset.
*/
public val rules: List? = builder.rules
/**
* Metadata tags that have been applied to the ruleset.
*/
public val tags: Map? = builder.tags
/**
* The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
*/
public val targetArn: kotlin.String? = builder.targetArn
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.databrew.model.DescribeRulesetResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeRulesetResponse(")
append("createDate=$createDate,")
append("createdBy=$createdBy,")
append("description=$description,")
append("lastModifiedBy=$lastModifiedBy,")
append("lastModifiedDate=$lastModifiedDate,")
append("name=$name,")
append("resourceArn=$resourceArn,")
append("rules=$rules,")
append("tags=$tags,")
append("targetArn=$targetArn)")
}
override fun hashCode(): kotlin.Int {
var result = createDate?.hashCode() ?: 0
result = 31 * result + (createdBy?.hashCode() ?: 0)
result = 31 * result + (description?.hashCode() ?: 0)
result = 31 * result + (lastModifiedBy?.hashCode() ?: 0)
result = 31 * result + (lastModifiedDate?.hashCode() ?: 0)
result = 31 * result + (name?.hashCode() ?: 0)
result = 31 * result + (resourceArn?.hashCode() ?: 0)
result = 31 * result + (rules?.hashCode() ?: 0)
result = 31 * result + (tags?.hashCode() ?: 0)
result = 31 * result + (targetArn?.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 DescribeRulesetResponse
if (createDate != other.createDate) return false
if (createdBy != other.createdBy) return false
if (description != other.description) return false
if (lastModifiedBy != other.lastModifiedBy) return false
if (lastModifiedDate != other.lastModifiedDate) return false
if (name != other.name) return false
if (resourceArn != other.resourceArn) return false
if (rules != other.rules) return false
if (tags != other.tags) return false
if (targetArn != other.targetArn) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.databrew.model.DescribeRulesetResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The date and time that the ruleset was created.
*/
public var createDate: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The Amazon Resource Name (ARN) of the user who created the ruleset.
*/
public var createdBy: kotlin.String? = null
/**
* The description of the ruleset.
*/
public var description: kotlin.String? = null
/**
* The Amazon Resource Name (ARN) of the user who last modified the ruleset.
*/
public var lastModifiedBy: kotlin.String? = null
/**
* The modification date and time of the ruleset.
*/
public var lastModifiedDate: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The name of the ruleset.
*/
public var name: kotlin.String? = null
/**
* The Amazon Resource Name (ARN) for the ruleset.
*/
public var resourceArn: kotlin.String? = null
/**
* A list of rules that are defined with the ruleset. A rule includes one or more checks to be validated on a DataBrew dataset.
*/
public var rules: List? = null
/**
* Metadata tags that have been applied to the ruleset.
*/
public var tags: Map? = null
/**
* The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.
*/
public var targetArn: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.databrew.model.DescribeRulesetResponse) : this() {
this.createDate = x.createDate
this.createdBy = x.createdBy
this.description = x.description
this.lastModifiedBy = x.lastModifiedBy
this.lastModifiedDate = x.lastModifiedDate
this.name = x.name
this.resourceArn = x.resourceArn
this.rules = x.rules
this.tags = x.tags
this.targetArn = x.targetArn
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.databrew.model.DescribeRulesetResponse = DescribeRulesetResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy