commonMain.aws.sdk.kotlin.services.datazone.model.UpdateEnvironmentProfileResponse.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
import aws.smithy.kotlin.runtime.time.Instant
public class UpdateEnvironmentProfileResponse 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 timestamp of when the environment profile was created.
*/
public val createdAt: aws.smithy.kotlin.runtime.time.Instant? = builder.createdAt
/**
* The Amazon DataZone user who created the environment profile.
*/
public val createdBy: kotlin.String = requireNotNull(builder.createdBy) { "A non-null value must be provided for createdBy" }
/**
* 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 the environment profile is to be updated.
*/
public val domainId: kotlin.String = requireNotNull(builder.domainId) { "A non-null value must be provided for domainId" }
/**
* The identifier of the blueprint of the environment profile that is to be updated.
*/
public val environmentBlueprintId: kotlin.String = requireNotNull(builder.environmentBlueprintId) { "A non-null value must be provided for environmentBlueprintId" }
/**
* The identifier of the environment profile that is to be udpated.
*/
public val id: kotlin.String = requireNotNull(builder.id) { "A non-null value must be provided for id" }
/**
* The name to be updated as part of the `UpdateEnvironmentProfile` action.
*/
public val name: kotlin.String = requireNotNull(builder.name) { "A non-null value must be provided for name" }
/**
* The identifier of the project of the environment profile that is to be updated.
*/
public val projectId: kotlin.String? = builder.projectId
/**
* The timestamp of when the environment profile was updated.
*/
public val updatedAt: aws.smithy.kotlin.runtime.time.Instant? = builder.updatedAt
/**
* 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.UpdateEnvironmentProfileResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateEnvironmentProfileResponse(")
append("awsAccountId=$awsAccountId,")
append("awsAccountRegion=$awsAccountRegion,")
append("createdAt=$createdAt,")
append("createdBy=$createdBy,")
append("description=*** Sensitive Data Redacted ***,")
append("domainId=$domainId,")
append("environmentBlueprintId=$environmentBlueprintId,")
append("id=$id,")
append("name=*** Sensitive Data Redacted ***,")
append("projectId=$projectId,")
append("updatedAt=$updatedAt,")
append("userParameters=$userParameters")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = awsAccountId?.hashCode() ?: 0
result = 31 * result + (awsAccountRegion?.hashCode() ?: 0)
result = 31 * result + (createdAt?.hashCode() ?: 0)
result = 31 * result + (createdBy.hashCode())
result = 31 * result + (description?.hashCode() ?: 0)
result = 31 * result + (domainId.hashCode())
result = 31 * result + (environmentBlueprintId.hashCode())
result = 31 * result + (id.hashCode())
result = 31 * result + (name.hashCode())
result = 31 * result + (projectId?.hashCode() ?: 0)
result = 31 * result + (updatedAt?.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 UpdateEnvironmentProfileResponse
if (awsAccountId != other.awsAccountId) return false
if (awsAccountRegion != other.awsAccountRegion) return false
if (createdAt != other.createdAt) return false
if (createdBy != other.createdBy) return false
if (description != other.description) return false
if (domainId != other.domainId) return false
if (environmentBlueprintId != other.environmentBlueprintId) return false
if (id != other.id) return false
if (name != other.name) return false
if (projectId != other.projectId) return false
if (updatedAt != other.updatedAt) return false
if (userParameters != other.userParameters) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.UpdateEnvironmentProfileResponse = 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 timestamp of when the environment profile was created.
*/
public var createdAt: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The Amazon DataZone user who created the environment profile.
*/
public var createdBy: 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 the environment profile is to be updated.
*/
public var domainId: kotlin.String? = null
/**
* The identifier of the blueprint of the environment profile that is to be updated.
*/
public var environmentBlueprintId: kotlin.String? = null
/**
* The identifier of the environment profile that is to be udpated.
*/
public var id: kotlin.String? = null
/**
* The name to be updated as part of the `UpdateEnvironmentProfile` action.
*/
public var name: kotlin.String? = null
/**
* The identifier of the project of the environment profile that is to be updated.
*/
public var projectId: kotlin.String? = null
/**
* The timestamp of when the environment profile was updated.
*/
public var updatedAt: aws.smithy.kotlin.runtime.time.Instant? = 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.UpdateEnvironmentProfileResponse) : this() {
this.awsAccountId = x.awsAccountId
this.awsAccountRegion = x.awsAccountRegion
this.createdAt = x.createdAt
this.createdBy = x.createdBy
this.description = x.description
this.domainId = x.domainId
this.environmentBlueprintId = x.environmentBlueprintId
this.id = x.id
this.name = x.name
this.projectId = x.projectId
this.updatedAt = x.updatedAt
this.userParameters = x.userParameters
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datazone.model.UpdateEnvironmentProfileResponse = UpdateEnvironmentProfileResponse(this)
internal fun correctErrors(): Builder {
if (createdBy == null) createdBy = ""
if (domainId == null) domainId = ""
if (environmentBlueprintId == null) environmentBlueprintId = ""
if (id == null) id = ""
if (name == null) name = ""
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy