commonMain.aws.sdk.kotlin.services.datazone.model.GetEnvironmentBlueprintConfigurationResponse.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 GetEnvironmentBlueprintConfigurationResponse private constructor(builder: Builder) {
/**
* The timestamp of when this blueprint was created.
*/
public val createdAt: aws.smithy.kotlin.runtime.time.Instant? = builder.createdAt
/**
* The ID of the Amazon DataZone domain where this blueprint exists.
*/
public val domainId: kotlin.String = requireNotNull(builder.domainId) { "A non-null value must be provided for domainId" }
/**
* The Amazon Web Services regions in which this blueprint is enabled.
*/
public val enabledRegions: List? = builder.enabledRegions
/**
* The ID of the 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 with which this blueprint is created.
*/
public val manageAccessRoleArn: kotlin.String? = builder.manageAccessRoleArn
/**
* The ARN of the provisioning role with which this blueprint is created.
*/
public val provisioningRoleArn: kotlin.String? = builder.provisioningRoleArn
/**
* The regional parameters of the blueprint.
*/
public val regionalParameters: Map>? = builder.regionalParameters
/**
* The timestamp of when this blueprint was upated.
*/
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.GetEnvironmentBlueprintConfigurationResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetEnvironmentBlueprintConfigurationResponse(")
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 GetEnvironmentBlueprintConfigurationResponse
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.GetEnvironmentBlueprintConfigurationResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The timestamp of when this blueprint was created.
*/
public var createdAt: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The ID of the Amazon DataZone domain where this blueprint exists.
*/
public var domainId: kotlin.String? = null
/**
* The Amazon Web Services regions in which this blueprint is enabled.
*/
public var enabledRegions: List? = null
/**
* The ID of the blueprint.
*/
public var environmentBlueprintId: kotlin.String? = null
/**
* The ARN of the manage access role with which this blueprint is created.
*/
public var manageAccessRoleArn: kotlin.String? = null
/**
* The ARN of the provisioning role with which this blueprint is created.
*/
public var provisioningRoleArn: kotlin.String? = null
/**
* The regional parameters of the blueprint.
*/
public var regionalParameters: Map>? = null
/**
* The timestamp of when this blueprint was upated.
*/
public var updatedAt: aws.smithy.kotlin.runtime.time.Instant? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datazone.model.GetEnvironmentBlueprintConfigurationResponse) : 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.GetEnvironmentBlueprintConfigurationResponse = GetEnvironmentBlueprintConfigurationResponse(this)
internal fun correctErrors(): Builder {
if (domainId == null) domainId = ""
if (environmentBlueprintId == null) environmentBlueprintId = ""
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy