commonMain.aws.sdk.kotlin.services.datazone.model.UpdateEnvironmentProfileRequest.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 UpdateEnvironmentProfileRequest private constructor(builder: Builder) {
/**
* The Amazon Web Services account in which a specified environment profile is to be udpated.
*/
public val awsAccountId: kotlin.String? = builder.awsAccountId
/**
* The Amazon Web Services Region in which a specified environment profile is to be updated.
*/
public val awsAccountRegion: kotlin.String? = builder.awsAccountRegion
/**
* The description to be updated as part of the `UpdateEnvironmentProfile` action.
*/
public val description: kotlin.String? = builder.description
/**
* The identifier of the Amazon DataZone domain in which an environment profile is to be updated.
*/
public val domainIdentifier: kotlin.String? = builder.domainIdentifier
/**
* The identifier of the environment profile that is to be updated.
*/
public val identifier: kotlin.String? = builder.identifier
/**
* The name to be updated as part of the `UpdateEnvironmentProfile` action.
*/
public val name: kotlin.String? = builder.name
/**
* The user parameters to be updated as part of the `UpdateEnvironmentProfile` action.
*/
public val userParameters: List? = builder.userParameters
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datazone.model.UpdateEnvironmentProfileRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateEnvironmentProfileRequest(")
append("awsAccountId=$awsAccountId,")
append("awsAccountRegion=$awsAccountRegion,")
append("description=$description,")
append("domainIdentifier=$domainIdentifier,")
append("identifier=$identifier,")
append("name=*** Sensitive Data Redacted ***,")
append("userParameters=$userParameters")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = awsAccountId?.hashCode() ?: 0
result = 31 * result + (awsAccountRegion?.hashCode() ?: 0)
result = 31 * result + (description?.hashCode() ?: 0)
result = 31 * result + (domainIdentifier?.hashCode() ?: 0)
result = 31 * result + (identifier?.hashCode() ?: 0)
result = 31 * result + (name?.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 UpdateEnvironmentProfileRequest
if (awsAccountId != other.awsAccountId) return false
if (awsAccountRegion != other.awsAccountRegion) return false
if (description != other.description) return false
if (domainIdentifier != other.domainIdentifier) return false
if (identifier != other.identifier) return false
if (name != other.name) return false
if (userParameters != other.userParameters) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.UpdateEnvironmentProfileRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The Amazon Web Services account in which a specified environment profile is to be udpated.
*/
public var awsAccountId: kotlin.String? = null
/**
* The Amazon Web Services Region in which a specified environment profile is to be updated.
*/
public var awsAccountRegion: kotlin.String? = null
/**
* The description to be updated as part of the `UpdateEnvironmentProfile` action.
*/
public var description: kotlin.String? = null
/**
* The identifier of the Amazon DataZone domain in which an environment profile is to be updated.
*/
public var domainIdentifier: kotlin.String? = null
/**
* The identifier of the environment profile that is to be updated.
*/
public var identifier: kotlin.String? = null
/**
* The name to be updated as part of the `UpdateEnvironmentProfile` action.
*/
public var name: kotlin.String? = null
/**
* The user parameters to be updated as part of the `UpdateEnvironmentProfile` action.
*/
public var userParameters: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datazone.model.UpdateEnvironmentProfileRequest) : this() {
this.awsAccountId = x.awsAccountId
this.awsAccountRegion = x.awsAccountRegion
this.description = x.description
this.domainIdentifier = x.domainIdentifier
this.identifier = x.identifier
this.name = x.name
this.userParameters = x.userParameters
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datazone.model.UpdateEnvironmentProfileRequest = UpdateEnvironmentProfileRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy