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

commonMain.aws.sdk.kotlin.services.opensearch.model.DomainStatus.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.opensearch.model



/**
 * The current status of an OpenSearch Service domain.
 */
public class DomainStatus private constructor(builder: Builder) {
    /**
     * Identity and Access Management (IAM) policy document specifying the access policies for the domain.
     */
    public val accessPolicies: kotlin.String? = builder.accessPolicies
    /**
     * Key-value pairs that specify advanced configuration options.
     */
    public val advancedOptions: Map? = builder.advancedOptions
    /**
     * Settings for fine-grained access control.
     */
    public val advancedSecurityOptions: aws.sdk.kotlin.services.opensearch.model.AdvancedSecurityOptions? = builder.advancedSecurityOptions
    /**
     * The Amazon Resource Name (ARN) of the domain. For more information, see [IAM identifiers ](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) in the *AWS Identity and Access Management User Guide*.
     */
    public val arn: kotlin.String = requireNotNull(builder.arn) { "A non-null value must be provided for arn" }
    /**
     * Auto-Tune settings for the domain.
     */
    public val autoTuneOptions: aws.sdk.kotlin.services.opensearch.model.AutoTuneOptionsOutput? = builder.autoTuneOptions
    /**
     * Information about a configuration change happening on the domain.
     */
    public val changeProgressDetails: aws.sdk.kotlin.services.opensearch.model.ChangeProgressDetails? = builder.changeProgressDetails
    /**
     * Container for the cluster configuration of the domain.
     */
    public val clusterConfig: aws.sdk.kotlin.services.opensearch.model.ClusterConfig? = builder.clusterConfig
    /**
     * Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.
     */
    public val cognitoOptions: aws.sdk.kotlin.services.opensearch.model.CognitoOptions? = builder.cognitoOptions
    /**
     * Creation status of an OpenSearch Service domain. True if domain creation is complete. False if domain creation is still in progress.
     */
    public val created: kotlin.Boolean? = builder.created
    /**
     * Deletion status of an OpenSearch Service domain. True if domain deletion is complete. False if domain deletion is still in progress. Once deletion is complete, the status of the domain is no longer returned.
     */
    public val deleted: kotlin.Boolean? = builder.deleted
    /**
     * Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
     */
    public val domainEndpointOptions: aws.sdk.kotlin.services.opensearch.model.DomainEndpointOptions? = builder.domainEndpointOptions
    /**
     * Unique identifier for the domain.
     */
    public val domainId: kotlin.String = requireNotNull(builder.domainId) { "A non-null value must be provided for domainId" }
    /**
     * Name of the domain. Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.
     */
    public val domainName: kotlin.String = requireNotNull(builder.domainName) { "A non-null value must be provided for domainName" }
    /**
     * Container for EBS-based storage settings for the domain.
     */
    public val ebsOptions: aws.sdk.kotlin.services.opensearch.model.EbsOptions? = builder.ebsOptions
    /**
     * Encryption at rest settings for the domain.
     */
    public val encryptionAtRestOptions: aws.sdk.kotlin.services.opensearch.model.EncryptionAtRestOptions? = builder.encryptionAtRestOptions
    /**
     * Domain-specific endpoint used to submit index, search, and data upload requests to the domain.
     */
    public val endpoint: kotlin.String? = builder.endpoint
    /**
     * The domain endpoint to which index and search requests are submitted. For example, `search-imdb-movies-oopcnjfn6ugo.eu-west-1.es.amazonaws.com` or `doc-imdb-movies-oopcnjfn6u.eu-west-1.es.amazonaws.com`.
     */
    public val endpointV2: kotlin.String? = builder.endpointV2
    /**
     * The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints.. Example `key, value`: `'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'`.
     */
    public val endpoints: Map? = builder.endpoints
    /**
     * Version of OpenSearch or Elasticsearch that the domain is running, in the format `Elasticsearch_X.Y` or `OpenSearch_X.Y`.
     */
    public val engineVersion: kotlin.String? = builder.engineVersion
    /**
     * The type of IP addresses supported by the endpoint for the domain.
     */
    public val ipAddressType: aws.sdk.kotlin.services.opensearch.model.IpAddressType? = builder.ipAddressType
    /**
     * Log publishing options for the domain.
     */
    public val logPublishingOptions: Map? = builder.logPublishingOptions
    /**
     * Whether node-to-node encryption is enabled or disabled.
     */
    public val nodeToNodeEncryptionOptions: aws.sdk.kotlin.services.opensearch.model.NodeToNodeEncryptionOptions? = builder.nodeToNodeEncryptionOptions
    /**
     * Options that specify a custom 10-hour window during which OpenSearch Service can perform configuration changes on the domain.
     */
    public val offPeakWindowOptions: aws.sdk.kotlin.services.opensearch.model.OffPeakWindowOptions? = builder.offPeakWindowOptions
    /**
     * The status of the domain configuration. True if OpenSearch Service is processing configuration changes. False if the configuration is active.
     */
    public val processing: kotlin.Boolean? = builder.processing
    /**
     * The current status of the domain's service software.
     */
    public val serviceSoftwareOptions: aws.sdk.kotlin.services.opensearch.model.ServiceSoftwareOptions? = builder.serviceSoftwareOptions
    /**
     * DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes.
     */
    public val snapshotOptions: aws.sdk.kotlin.services.opensearch.model.SnapshotOptions? = builder.snapshotOptions
    /**
     * Service software update options for the domain.
     */
    public val softwareUpdateOptions: aws.sdk.kotlin.services.opensearch.model.SoftwareUpdateOptions? = builder.softwareUpdateOptions
    /**
     * The status of a domain version upgrade to a new version of OpenSearch or Elasticsearch. True if OpenSearch Service is in the process of a version upgrade. False if the configuration is active.
     */
    public val upgradeProcessing: kotlin.Boolean? = builder.upgradeProcessing
    /**
     * The VPC configuration for the domain.
     */
    public val vpcOptions: aws.sdk.kotlin.services.opensearch.model.VpcDerivedInfo? = builder.vpcOptions

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

    override fun toString(): kotlin.String = buildString {
        append("DomainStatus(")
        append("accessPolicies=$accessPolicies,")
        append("advancedOptions=$advancedOptions,")
        append("advancedSecurityOptions=$advancedSecurityOptions,")
        append("arn=$arn,")
        append("autoTuneOptions=$autoTuneOptions,")
        append("changeProgressDetails=$changeProgressDetails,")
        append("clusterConfig=$clusterConfig,")
        append("cognitoOptions=$cognitoOptions,")
        append("created=$created,")
        append("deleted=$deleted,")
        append("domainEndpointOptions=$domainEndpointOptions,")
        append("domainId=$domainId,")
        append("domainName=$domainName,")
        append("ebsOptions=$ebsOptions,")
        append("encryptionAtRestOptions=$encryptionAtRestOptions,")
        append("endpoint=$endpoint,")
        append("endpointV2=$endpointV2,")
        append("endpoints=$endpoints,")
        append("engineVersion=$engineVersion,")
        append("ipAddressType=$ipAddressType,")
        append("logPublishingOptions=$logPublishingOptions,")
        append("nodeToNodeEncryptionOptions=$nodeToNodeEncryptionOptions,")
        append("offPeakWindowOptions=$offPeakWindowOptions,")
        append("processing=$processing,")
        append("serviceSoftwareOptions=$serviceSoftwareOptions,")
        append("snapshotOptions=$snapshotOptions,")
        append("softwareUpdateOptions=$softwareUpdateOptions,")
        append("upgradeProcessing=$upgradeProcessing,")
        append("vpcOptions=$vpcOptions")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = accessPolicies?.hashCode() ?: 0
        result = 31 * result + (advancedOptions?.hashCode() ?: 0)
        result = 31 * result + (advancedSecurityOptions?.hashCode() ?: 0)
        result = 31 * result + (arn.hashCode())
        result = 31 * result + (autoTuneOptions?.hashCode() ?: 0)
        result = 31 * result + (changeProgressDetails?.hashCode() ?: 0)
        result = 31 * result + (clusterConfig?.hashCode() ?: 0)
        result = 31 * result + (cognitoOptions?.hashCode() ?: 0)
        result = 31 * result + (created?.hashCode() ?: 0)
        result = 31 * result + (deleted?.hashCode() ?: 0)
        result = 31 * result + (domainEndpointOptions?.hashCode() ?: 0)
        result = 31 * result + (domainId.hashCode())
        result = 31 * result + (domainName.hashCode())
        result = 31 * result + (ebsOptions?.hashCode() ?: 0)
        result = 31 * result + (encryptionAtRestOptions?.hashCode() ?: 0)
        result = 31 * result + (endpoint?.hashCode() ?: 0)
        result = 31 * result + (endpointV2?.hashCode() ?: 0)
        result = 31 * result + (endpoints?.hashCode() ?: 0)
        result = 31 * result + (engineVersion?.hashCode() ?: 0)
        result = 31 * result + (ipAddressType?.hashCode() ?: 0)
        result = 31 * result + (logPublishingOptions?.hashCode() ?: 0)
        result = 31 * result + (nodeToNodeEncryptionOptions?.hashCode() ?: 0)
        result = 31 * result + (offPeakWindowOptions?.hashCode() ?: 0)
        result = 31 * result + (processing?.hashCode() ?: 0)
        result = 31 * result + (serviceSoftwareOptions?.hashCode() ?: 0)
        result = 31 * result + (snapshotOptions?.hashCode() ?: 0)
        result = 31 * result + (softwareUpdateOptions?.hashCode() ?: 0)
        result = 31 * result + (upgradeProcessing?.hashCode() ?: 0)
        result = 31 * result + (vpcOptions?.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 DomainStatus

        if (accessPolicies != other.accessPolicies) return false
        if (advancedOptions != other.advancedOptions) return false
        if (advancedSecurityOptions != other.advancedSecurityOptions) return false
        if (arn != other.arn) return false
        if (autoTuneOptions != other.autoTuneOptions) return false
        if (changeProgressDetails != other.changeProgressDetails) return false
        if (clusterConfig != other.clusterConfig) return false
        if (cognitoOptions != other.cognitoOptions) return false
        if (created != other.created) return false
        if (deleted != other.deleted) return false
        if (domainEndpointOptions != other.domainEndpointOptions) return false
        if (domainId != other.domainId) return false
        if (domainName != other.domainName) return false
        if (ebsOptions != other.ebsOptions) return false
        if (encryptionAtRestOptions != other.encryptionAtRestOptions) return false
        if (endpoint != other.endpoint) return false
        if (endpointV2 != other.endpointV2) return false
        if (endpoints != other.endpoints) return false
        if (engineVersion != other.engineVersion) return false
        if (ipAddressType != other.ipAddressType) return false
        if (logPublishingOptions != other.logPublishingOptions) return false
        if (nodeToNodeEncryptionOptions != other.nodeToNodeEncryptionOptions) return false
        if (offPeakWindowOptions != other.offPeakWindowOptions) return false
        if (processing != other.processing) return false
        if (serviceSoftwareOptions != other.serviceSoftwareOptions) return false
        if (snapshotOptions != other.snapshotOptions) return false
        if (softwareUpdateOptions != other.softwareUpdateOptions) return false
        if (upgradeProcessing != other.upgradeProcessing) return false
        if (vpcOptions != other.vpcOptions) return false

        return true
    }

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

    public class Builder {
        /**
         * Identity and Access Management (IAM) policy document specifying the access policies for the domain.
         */
        public var accessPolicies: kotlin.String? = null
        /**
         * Key-value pairs that specify advanced configuration options.
         */
        public var advancedOptions: Map? = null
        /**
         * Settings for fine-grained access control.
         */
        public var advancedSecurityOptions: aws.sdk.kotlin.services.opensearch.model.AdvancedSecurityOptions? = null
        /**
         * The Amazon Resource Name (ARN) of the domain. For more information, see [IAM identifiers ](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) in the *AWS Identity and Access Management User Guide*.
         */
        public var arn: kotlin.String? = null
        /**
         * Auto-Tune settings for the domain.
         */
        public var autoTuneOptions: aws.sdk.kotlin.services.opensearch.model.AutoTuneOptionsOutput? = null
        /**
         * Information about a configuration change happening on the domain.
         */
        public var changeProgressDetails: aws.sdk.kotlin.services.opensearch.model.ChangeProgressDetails? = null
        /**
         * Container for the cluster configuration of the domain.
         */
        public var clusterConfig: aws.sdk.kotlin.services.opensearch.model.ClusterConfig? = null
        /**
         * Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.
         */
        public var cognitoOptions: aws.sdk.kotlin.services.opensearch.model.CognitoOptions? = null
        /**
         * Creation status of an OpenSearch Service domain. True if domain creation is complete. False if domain creation is still in progress.
         */
        public var created: kotlin.Boolean? = null
        /**
         * Deletion status of an OpenSearch Service domain. True if domain deletion is complete. False if domain deletion is still in progress. Once deletion is complete, the status of the domain is no longer returned.
         */
        public var deleted: kotlin.Boolean? = null
        /**
         * Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
         */
        public var domainEndpointOptions: aws.sdk.kotlin.services.opensearch.model.DomainEndpointOptions? = null
        /**
         * Unique identifier for the domain.
         */
        public var domainId: kotlin.String? = null
        /**
         * Name of the domain. Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.
         */
        public var domainName: kotlin.String? = null
        /**
         * Container for EBS-based storage settings for the domain.
         */
        public var ebsOptions: aws.sdk.kotlin.services.opensearch.model.EbsOptions? = null
        /**
         * Encryption at rest settings for the domain.
         */
        public var encryptionAtRestOptions: aws.sdk.kotlin.services.opensearch.model.EncryptionAtRestOptions? = null
        /**
         * Domain-specific endpoint used to submit index, search, and data upload requests to the domain.
         */
        public var endpoint: kotlin.String? = null
        /**
         * The domain endpoint to which index and search requests are submitted. For example, `search-imdb-movies-oopcnjfn6ugo.eu-west-1.es.amazonaws.com` or `doc-imdb-movies-oopcnjfn6u.eu-west-1.es.amazonaws.com`.
         */
        public var endpointV2: kotlin.String? = null
        /**
         * The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints.. Example `key, value`: `'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'`.
         */
        public var endpoints: Map? = null
        /**
         * Version of OpenSearch or Elasticsearch that the domain is running, in the format `Elasticsearch_X.Y` or `OpenSearch_X.Y`.
         */
        public var engineVersion: kotlin.String? = null
        /**
         * The type of IP addresses supported by the endpoint for the domain.
         */
        public var ipAddressType: aws.sdk.kotlin.services.opensearch.model.IpAddressType? = null
        /**
         * Log publishing options for the domain.
         */
        public var logPublishingOptions: Map? = null
        /**
         * Whether node-to-node encryption is enabled or disabled.
         */
        public var nodeToNodeEncryptionOptions: aws.sdk.kotlin.services.opensearch.model.NodeToNodeEncryptionOptions? = null
        /**
         * Options that specify a custom 10-hour window during which OpenSearch Service can perform configuration changes on the domain.
         */
        public var offPeakWindowOptions: aws.sdk.kotlin.services.opensearch.model.OffPeakWindowOptions? = null
        /**
         * The status of the domain configuration. True if OpenSearch Service is processing configuration changes. False if the configuration is active.
         */
        public var processing: kotlin.Boolean? = null
        /**
         * The current status of the domain's service software.
         */
        public var serviceSoftwareOptions: aws.sdk.kotlin.services.opensearch.model.ServiceSoftwareOptions? = null
        /**
         * DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes.
         */
        public var snapshotOptions: aws.sdk.kotlin.services.opensearch.model.SnapshotOptions? = null
        /**
         * Service software update options for the domain.
         */
        public var softwareUpdateOptions: aws.sdk.kotlin.services.opensearch.model.SoftwareUpdateOptions? = null
        /**
         * The status of a domain version upgrade to a new version of OpenSearch or Elasticsearch. True if OpenSearch Service is in the process of a version upgrade. False if the configuration is active.
         */
        public var upgradeProcessing: kotlin.Boolean? = null
        /**
         * The VPC configuration for the domain.
         */
        public var vpcOptions: aws.sdk.kotlin.services.opensearch.model.VpcDerivedInfo? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.opensearch.model.DomainStatus) : this() {
            this.accessPolicies = x.accessPolicies
            this.advancedOptions = x.advancedOptions
            this.advancedSecurityOptions = x.advancedSecurityOptions
            this.arn = x.arn
            this.autoTuneOptions = x.autoTuneOptions
            this.changeProgressDetails = x.changeProgressDetails
            this.clusterConfig = x.clusterConfig
            this.cognitoOptions = x.cognitoOptions
            this.created = x.created
            this.deleted = x.deleted
            this.domainEndpointOptions = x.domainEndpointOptions
            this.domainId = x.domainId
            this.domainName = x.domainName
            this.ebsOptions = x.ebsOptions
            this.encryptionAtRestOptions = x.encryptionAtRestOptions
            this.endpoint = x.endpoint
            this.endpointV2 = x.endpointV2
            this.endpoints = x.endpoints
            this.engineVersion = x.engineVersion
            this.ipAddressType = x.ipAddressType
            this.logPublishingOptions = x.logPublishingOptions
            this.nodeToNodeEncryptionOptions = x.nodeToNodeEncryptionOptions
            this.offPeakWindowOptions = x.offPeakWindowOptions
            this.processing = x.processing
            this.serviceSoftwareOptions = x.serviceSoftwareOptions
            this.snapshotOptions = x.snapshotOptions
            this.softwareUpdateOptions = x.softwareUpdateOptions
            this.upgradeProcessing = x.upgradeProcessing
            this.vpcOptions = x.vpcOptions
        }

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

        /**
         * construct an [aws.sdk.kotlin.services.opensearch.model.AdvancedSecurityOptions] inside the given [block]
         */
        public fun advancedSecurityOptions(block: aws.sdk.kotlin.services.opensearch.model.AdvancedSecurityOptions.Builder.() -> kotlin.Unit) {
            this.advancedSecurityOptions = aws.sdk.kotlin.services.opensearch.model.AdvancedSecurityOptions.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.opensearch.model.AutoTuneOptionsOutput] inside the given [block]
         */
        public fun autoTuneOptions(block: aws.sdk.kotlin.services.opensearch.model.AutoTuneOptionsOutput.Builder.() -> kotlin.Unit) {
            this.autoTuneOptions = aws.sdk.kotlin.services.opensearch.model.AutoTuneOptionsOutput.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.opensearch.model.ChangeProgressDetails] inside the given [block]
         */
        public fun changeProgressDetails(block: aws.sdk.kotlin.services.opensearch.model.ChangeProgressDetails.Builder.() -> kotlin.Unit) {
            this.changeProgressDetails = aws.sdk.kotlin.services.opensearch.model.ChangeProgressDetails.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.opensearch.model.ClusterConfig] inside the given [block]
         */
        public fun clusterConfig(block: aws.sdk.kotlin.services.opensearch.model.ClusterConfig.Builder.() -> kotlin.Unit) {
            this.clusterConfig = aws.sdk.kotlin.services.opensearch.model.ClusterConfig.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.opensearch.model.CognitoOptions] inside the given [block]
         */
        public fun cognitoOptions(block: aws.sdk.kotlin.services.opensearch.model.CognitoOptions.Builder.() -> kotlin.Unit) {
            this.cognitoOptions = aws.sdk.kotlin.services.opensearch.model.CognitoOptions.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.opensearch.model.DomainEndpointOptions] inside the given [block]
         */
        public fun domainEndpointOptions(block: aws.sdk.kotlin.services.opensearch.model.DomainEndpointOptions.Builder.() -> kotlin.Unit) {
            this.domainEndpointOptions = aws.sdk.kotlin.services.opensearch.model.DomainEndpointOptions.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.opensearch.model.EbsOptions] inside the given [block]
         */
        public fun ebsOptions(block: aws.sdk.kotlin.services.opensearch.model.EbsOptions.Builder.() -> kotlin.Unit) {
            this.ebsOptions = aws.sdk.kotlin.services.opensearch.model.EbsOptions.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.opensearch.model.EncryptionAtRestOptions] inside the given [block]
         */
        public fun encryptionAtRestOptions(block: aws.sdk.kotlin.services.opensearch.model.EncryptionAtRestOptions.Builder.() -> kotlin.Unit) {
            this.encryptionAtRestOptions = aws.sdk.kotlin.services.opensearch.model.EncryptionAtRestOptions.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.opensearch.model.NodeToNodeEncryptionOptions] inside the given [block]
         */
        public fun nodeToNodeEncryptionOptions(block: aws.sdk.kotlin.services.opensearch.model.NodeToNodeEncryptionOptions.Builder.() -> kotlin.Unit) {
            this.nodeToNodeEncryptionOptions = aws.sdk.kotlin.services.opensearch.model.NodeToNodeEncryptionOptions.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.opensearch.model.OffPeakWindowOptions] inside the given [block]
         */
        public fun offPeakWindowOptions(block: aws.sdk.kotlin.services.opensearch.model.OffPeakWindowOptions.Builder.() -> kotlin.Unit) {
            this.offPeakWindowOptions = aws.sdk.kotlin.services.opensearch.model.OffPeakWindowOptions.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.opensearch.model.ServiceSoftwareOptions] inside the given [block]
         */
        public fun serviceSoftwareOptions(block: aws.sdk.kotlin.services.opensearch.model.ServiceSoftwareOptions.Builder.() -> kotlin.Unit) {
            this.serviceSoftwareOptions = aws.sdk.kotlin.services.opensearch.model.ServiceSoftwareOptions.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.opensearch.model.SnapshotOptions] inside the given [block]
         */
        public fun snapshotOptions(block: aws.sdk.kotlin.services.opensearch.model.SnapshotOptions.Builder.() -> kotlin.Unit) {
            this.snapshotOptions = aws.sdk.kotlin.services.opensearch.model.SnapshotOptions.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.opensearch.model.SoftwareUpdateOptions] inside the given [block]
         */
        public fun softwareUpdateOptions(block: aws.sdk.kotlin.services.opensearch.model.SoftwareUpdateOptions.Builder.() -> kotlin.Unit) {
            this.softwareUpdateOptions = aws.sdk.kotlin.services.opensearch.model.SoftwareUpdateOptions.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.opensearch.model.VpcDerivedInfo] inside the given [block]
         */
        public fun vpcOptions(block: aws.sdk.kotlin.services.opensearch.model.VpcDerivedInfo.Builder.() -> kotlin.Unit) {
            this.vpcOptions = aws.sdk.kotlin.services.opensearch.model.VpcDerivedInfo.invoke(block)
        }

        internal fun correctErrors(): Builder {
            if (arn == null) arn = ""
            if (domainId == null) domainId = ""
            if (domainName == null) domainName = ""
            return this
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy