commonMain.aws.sdk.kotlin.services.datazone.model.EnvironmentBlueprintConfigurationItem.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
/**
* The configuration details of an environment blueprint.
*/
public class EnvironmentBlueprintConfigurationItem private constructor(builder: Builder) {
/**
* The timestamp of when an environment blueprint was created.
*/
public val createdAt: aws.smithy.kotlin.runtime.time.Instant? = builder.createdAt
/**
* The identifier of the Amazon DataZone domain in which an environment blueprint exists.
*/
public val domainId: kotlin.String = requireNotNull(builder.domainId) { "A non-null value must be provided for domainId" }
/**
* The enabled Amazon Web Services Regions specified in a blueprint configuration.
*/
public val enabledRegions: List? = builder.enabledRegions
/**
* The identifier of the environment blueprint.
*/
public val environmentBlueprintId: kotlin.String = requireNotNull(builder.environmentBlueprintId) { "A non-null value must be provided for environmentBlueprintId" }
/**
* The ARN of the manage access role specified in the environment blueprint configuration.
*/
public val manageAccessRoleArn: kotlin.String? = builder.manageAccessRoleArn
/**
* The ARN of the provisioning role specified in the environment blueprint configuration.
*/
public val provisioningRoleArn: kotlin.String? = builder.provisioningRoleArn
/**
* The regional parameters of the environment blueprint.
*/
public val regionalParameters: Map>? = builder.regionalParameters
/**
* The timestamp of when the environment blueprint was updated.
*/
public val updatedAt: aws.smithy.kotlin.runtime.time.Instant? = builder.updatedAt
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datazone.model.EnvironmentBlueprintConfigurationItem = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("EnvironmentBlueprintConfigurationItem(")
append("createdAt=$createdAt,")
append("domainId=$domainId,")
append("enabledRegions=$enabledRegions,")
append("environmentBlueprintId=$environmentBlueprintId,")
append("manageAccessRoleArn=$manageAccessRoleArn,")
append("provisioningRoleArn=$provisioningRoleArn,")
append("regionalParameters=$regionalParameters,")
append("updatedAt=$updatedAt")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = createdAt?.hashCode() ?: 0
result = 31 * result + (domainId.hashCode())
result = 31 * result + (enabledRegions?.hashCode() ?: 0)
result = 31 * result + (environmentBlueprintId.hashCode())
result = 31 * result + (manageAccessRoleArn?.hashCode() ?: 0)
result = 31 * result + (provisioningRoleArn?.hashCode() ?: 0)
result = 31 * result + (regionalParameters?.hashCode() ?: 0)
result = 31 * result + (updatedAt?.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 EnvironmentBlueprintConfigurationItem
if (createdAt != other.createdAt) return false
if (domainId != other.domainId) return false
if (enabledRegions != other.enabledRegions) return false
if (environmentBlueprintId != other.environmentBlueprintId) return false
if (manageAccessRoleArn != other.manageAccessRoleArn) return false
if (provisioningRoleArn != other.provisioningRoleArn) return false
if (regionalParameters != other.regionalParameters) return false
if (updatedAt != other.updatedAt) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.EnvironmentBlueprintConfigurationItem = Builder(this).apply(block).build()
public class Builder {
/**
* The timestamp of when an environment blueprint was created.
*/
public var createdAt: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The identifier of the Amazon DataZone domain in which an environment blueprint exists.
*/
public var domainId: kotlin.String? = null
/**
* The enabled Amazon Web Services Regions specified in a blueprint configuration.
*/
public var enabledRegions: List? = null
/**
* The identifier of the environment blueprint.
*/
public var environmentBlueprintId: kotlin.String? = null
/**
* The ARN of the manage access role specified in the environment blueprint configuration.
*/
public var manageAccessRoleArn: kotlin.String? = null
/**
* The ARN of the provisioning role specified in the environment blueprint configuration.
*/
public var provisioningRoleArn: kotlin.String? = null
/**
* The regional parameters of the environment blueprint.
*/
public var regionalParameters: Map>? = null
/**
* The timestamp of when the environment blueprint was updated.
*/
public var updatedAt: aws.smithy.kotlin.runtime.time.Instant? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datazone.model.EnvironmentBlueprintConfigurationItem) : this() {
this.createdAt = x.createdAt
this.domainId = x.domainId
this.enabledRegions = x.enabledRegions
this.environmentBlueprintId = x.environmentBlueprintId
this.manageAccessRoleArn = x.manageAccessRoleArn
this.provisioningRoleArn = x.provisioningRoleArn
this.regionalParameters = x.regionalParameters
this.updatedAt = x.updatedAt
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datazone.model.EnvironmentBlueprintConfigurationItem = EnvironmentBlueprintConfigurationItem(this)
internal fun correctErrors(): Builder {
if (domainId == null) domainId = ""
if (environmentBlueprintId == null) environmentBlueprintId = ""
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy