commonMain.aws.sdk.kotlin.services.databrew.model.DescribeRecipeResponse.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 DescribeRecipeResponse private constructor(builder: Builder) {
/**
* The date and time that the recipe was created.
*/
public val createDate: aws.smithy.kotlin.runtime.time.Instant? = builder.createDate
/**
* The identifier (user name) of the user who created the recipe.
*/
public val createdBy: kotlin.String? = builder.createdBy
/**
* The description of the recipe.
*/
public val description: kotlin.String? = builder.description
/**
* The identifier (user name) of the user who last modified the recipe.
*/
public val lastModifiedBy: kotlin.String? = builder.lastModifiedBy
/**
* The date and time that the recipe was last modified.
*/
public val lastModifiedDate: aws.smithy.kotlin.runtime.time.Instant? = builder.lastModifiedDate
/**
* The name of the recipe.
*/
public val name: kotlin.String = requireNotNull(builder.name) { "A non-null value must be provided for name" }
/**
* The name of the project associated with this recipe.
*/
public val projectName: kotlin.String? = builder.projectName
/**
* The identifier (user name) of the user who last published the recipe.
*/
public val publishedBy: kotlin.String? = builder.publishedBy
/**
* The date and time when the recipe was last published.
*/
public val publishedDate: aws.smithy.kotlin.runtime.time.Instant? = builder.publishedDate
/**
* The recipe version identifier.
*/
public val recipeVersion: kotlin.String? = builder.recipeVersion
/**
* The ARN of the recipe.
*/
public val resourceArn: kotlin.String? = builder.resourceArn
/**
* One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which the action should succeed.
*/
public val steps: List? = builder.steps
/**
* Metadata tags associated with this project.
*/
public val tags: Map? = builder.tags
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.databrew.model.DescribeRecipeResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeRecipeResponse(")
append("createDate=$createDate,")
append("createdBy=$createdBy,")
append("description=$description,")
append("lastModifiedBy=$lastModifiedBy,")
append("lastModifiedDate=$lastModifiedDate,")
append("name=$name,")
append("projectName=$projectName,")
append("publishedBy=$publishedBy,")
append("publishedDate=$publishedDate,")
append("recipeVersion=$recipeVersion,")
append("resourceArn=$resourceArn,")
append("steps=$steps,")
append("tags=$tags")
append(")")
}
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())
result = 31 * result + (projectName?.hashCode() ?: 0)
result = 31 * result + (publishedBy?.hashCode() ?: 0)
result = 31 * result + (publishedDate?.hashCode() ?: 0)
result = 31 * result + (recipeVersion?.hashCode() ?: 0)
result = 31 * result + (resourceArn?.hashCode() ?: 0)
result = 31 * result + (steps?.hashCode() ?: 0)
result = 31 * result + (tags?.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 DescribeRecipeResponse
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 (projectName != other.projectName) return false
if (publishedBy != other.publishedBy) return false
if (publishedDate != other.publishedDate) return false
if (recipeVersion != other.recipeVersion) return false
if (resourceArn != other.resourceArn) return false
if (steps != other.steps) return false
if (tags != other.tags) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.databrew.model.DescribeRecipeResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The date and time that the recipe was created.
*/
public var createDate: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The identifier (user name) of the user who created the recipe.
*/
public var createdBy: kotlin.String? = null
/**
* The description of the recipe.
*/
public var description: kotlin.String? = null
/**
* The identifier (user name) of the user who last modified the recipe.
*/
public var lastModifiedBy: kotlin.String? = null
/**
* The date and time that the recipe was last modified.
*/
public var lastModifiedDate: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The name of the recipe.
*/
public var name: kotlin.String? = null
/**
* The name of the project associated with this recipe.
*/
public var projectName: kotlin.String? = null
/**
* The identifier (user name) of the user who last published the recipe.
*/
public var publishedBy: kotlin.String? = null
/**
* The date and time when the recipe was last published.
*/
public var publishedDate: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The recipe version identifier.
*/
public var recipeVersion: kotlin.String? = null
/**
* The ARN of the recipe.
*/
public var resourceArn: kotlin.String? = null
/**
* One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which the action should succeed.
*/
public var steps: List? = null
/**
* Metadata tags associated with this project.
*/
public var tags: Map? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.databrew.model.DescribeRecipeResponse) : 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.projectName = x.projectName
this.publishedBy = x.publishedBy
this.publishedDate = x.publishedDate
this.recipeVersion = x.recipeVersion
this.resourceArn = x.resourceArn
this.steps = x.steps
this.tags = x.tags
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.databrew.model.DescribeRecipeResponse = DescribeRecipeResponse(this)
internal fun correctErrors(): Builder {
if (name == null) name = ""
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy