commonMain.aws.sdk.kotlin.services.datazone.model.CreateEnvironmentRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datazone-jvm Show documentation
Show all versions of datazone-jvm Show documentation
The AWS SDK for Kotlin client for DataZone
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.datazone.model
public class CreateEnvironmentRequest private constructor(builder: Builder) {
/**
* The description of the Amazon DataZone environment.
*/
public val description: kotlin.String? = builder.description
/**
* The identifier of the Amazon DataZone domain in which the environment is created.
*/
public val domainIdentifier: kotlin.String? = builder.domainIdentifier
/**
* The identifier of the environment profile that is used to create this Amazon DataZone environment.
*/
public val environmentProfileIdentifier: kotlin.String? = builder.environmentProfileIdentifier
/**
* The glossary terms that can be used in this Amazon DataZone environment.
*/
public val glossaryTerms: List? = builder.glossaryTerms
/**
* The name of the Amazon DataZone environment.
*/
public val name: kotlin.String? = builder.name
/**
* The identifier of the Amazon DataZone project in which this environment is created.
*/
public val projectIdentifier: kotlin.String? = builder.projectIdentifier
/**
* The user parameters of this Amazon DataZone environment.
*/
public val userParameters: List? = builder.userParameters
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datazone.model.CreateEnvironmentRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("CreateEnvironmentRequest(")
append("description=$description,")
append("domainIdentifier=$domainIdentifier,")
append("environmentProfileIdentifier=$environmentProfileIdentifier,")
append("glossaryTerms=$glossaryTerms,")
append("name=$name,")
append("projectIdentifier=$projectIdentifier,")
append("userParameters=$userParameters")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = description?.hashCode() ?: 0
result = 31 * result + (domainIdentifier?.hashCode() ?: 0)
result = 31 * result + (environmentProfileIdentifier?.hashCode() ?: 0)
result = 31 * result + (glossaryTerms?.hashCode() ?: 0)
result = 31 * result + (name?.hashCode() ?: 0)
result = 31 * result + (projectIdentifier?.hashCode() ?: 0)
result = 31 * result + (userParameters?.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 CreateEnvironmentRequest
if (description != other.description) return false
if (domainIdentifier != other.domainIdentifier) return false
if (environmentProfileIdentifier != other.environmentProfileIdentifier) return false
if (glossaryTerms != other.glossaryTerms) return false
if (name != other.name) return false
if (projectIdentifier != other.projectIdentifier) return false
if (userParameters != other.userParameters) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.CreateEnvironmentRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The description of the Amazon DataZone environment.
*/
public var description: kotlin.String? = null
/**
* The identifier of the Amazon DataZone domain in which the environment is created.
*/
public var domainIdentifier: kotlin.String? = null
/**
* The identifier of the environment profile that is used to create this Amazon DataZone environment.
*/
public var environmentProfileIdentifier: kotlin.String? = null
/**
* The glossary terms that can be used in this Amazon DataZone environment.
*/
public var glossaryTerms: List? = null
/**
* The name of the Amazon DataZone environment.
*/
public var name: kotlin.String? = null
/**
* The identifier of the Amazon DataZone project in which this environment is created.
*/
public var projectIdentifier: kotlin.String? = null
/**
* The user parameters of this Amazon DataZone environment.
*/
public var userParameters: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datazone.model.CreateEnvironmentRequest) : this() {
this.description = x.description
this.domainIdentifier = x.domainIdentifier
this.environmentProfileIdentifier = x.environmentProfileIdentifier
this.glossaryTerms = x.glossaryTerms
this.name = x.name
this.projectIdentifier = x.projectIdentifier
this.userParameters = x.userParameters
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datazone.model.CreateEnvironmentRequest = CreateEnvironmentRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy