All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.datazone.model.PutEnvironmentBlueprintConfigurationRequest.kt Maven / Gradle / Ivy

There is a newer version: 1.3.76
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.datazone.model

import aws.smithy.kotlin.runtime.SdkDsl

public class PutEnvironmentBlueprintConfigurationRequest private constructor(builder: Builder) {
    /**
     * The identifier of the Amazon DataZone domain.
     */
    public val domainIdentifier: kotlin.String? = builder.domainIdentifier
    /**
     * Specifies the enabled Amazon Web Services Regions.
     */
    public val enabledRegions: List? = builder.enabledRegions
    /**
     * The identifier of the environment blueprint.
     */
    public val environmentBlueprintIdentifier: kotlin.String? = builder.environmentBlueprintIdentifier
    /**
     * The ARN of the manage access role.
     */
    public val manageAccessRoleArn: kotlin.String? = builder.manageAccessRoleArn
    /**
     * The provisioning configuration of a blueprint.
     */
    public val provisioningConfigurations: List? = builder.provisioningConfigurations
    /**
     * The ARN of the provisioning role.
     */
    public val provisioningRoleArn: kotlin.String? = builder.provisioningRoleArn
    /**
     * The regional parameters in the environment blueprint.
     */
    public val regionalParameters: Map>? = builder.regionalParameters

    public companion object {
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datazone.model.PutEnvironmentBlueprintConfigurationRequest = Builder().apply(block).build()
    }

    override fun toString(): kotlin.String = buildString {
        append("PutEnvironmentBlueprintConfigurationRequest(")
        append("domainIdentifier=$domainIdentifier,")
        append("enabledRegions=$enabledRegions,")
        append("environmentBlueprintIdentifier=$environmentBlueprintIdentifier,")
        append("manageAccessRoleArn=$manageAccessRoleArn,")
        append("provisioningConfigurations=$provisioningConfigurations,")
        append("provisioningRoleArn=$provisioningRoleArn,")
        append("regionalParameters=$regionalParameters")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = domainIdentifier?.hashCode() ?: 0
        result = 31 * result + (enabledRegions?.hashCode() ?: 0)
        result = 31 * result + (environmentBlueprintIdentifier?.hashCode() ?: 0)
        result = 31 * result + (manageAccessRoleArn?.hashCode() ?: 0)
        result = 31 * result + (provisioningConfigurations?.hashCode() ?: 0)
        result = 31 * result + (provisioningRoleArn?.hashCode() ?: 0)
        result = 31 * result + (regionalParameters?.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 PutEnvironmentBlueprintConfigurationRequest

        if (domainIdentifier != other.domainIdentifier) return false
        if (enabledRegions != other.enabledRegions) return false
        if (environmentBlueprintIdentifier != other.environmentBlueprintIdentifier) return false
        if (manageAccessRoleArn != other.manageAccessRoleArn) return false
        if (provisioningConfigurations != other.provisioningConfigurations) return false
        if (provisioningRoleArn != other.provisioningRoleArn) return false
        if (regionalParameters != other.regionalParameters) return false

        return true
    }

    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.PutEnvironmentBlueprintConfigurationRequest = Builder(this).apply(block).build()

    @SdkDsl
    public class Builder {
        /**
         * The identifier of the Amazon DataZone domain.
         */
        public var domainIdentifier: kotlin.String? = null
        /**
         * Specifies the enabled Amazon Web Services Regions.
         */
        public var enabledRegions: List? = null
        /**
         * The identifier of the environment blueprint.
         */
        public var environmentBlueprintIdentifier: kotlin.String? = null
        /**
         * The ARN of the manage access role.
         */
        public var manageAccessRoleArn: kotlin.String? = null
        /**
         * The provisioning configuration of a blueprint.
         */
        public var provisioningConfigurations: List? = null
        /**
         * The ARN of the provisioning role.
         */
        public var provisioningRoleArn: kotlin.String? = null
        /**
         * The regional parameters in the environment blueprint.
         */
        public var regionalParameters: Map>? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.datazone.model.PutEnvironmentBlueprintConfigurationRequest) : this() {
            this.domainIdentifier = x.domainIdentifier
            this.enabledRegions = x.enabledRegions
            this.environmentBlueprintIdentifier = x.environmentBlueprintIdentifier
            this.manageAccessRoleArn = x.manageAccessRoleArn
            this.provisioningConfigurations = x.provisioningConfigurations
            this.provisioningRoleArn = x.provisioningRoleArn
            this.regionalParameters = x.regionalParameters
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.datazone.model.PutEnvironmentBlueprintConfigurationRequest = PutEnvironmentBlueprintConfigurationRequest(this)

        internal fun correctErrors(): Builder {
            return this
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy