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

commonMain.aws.sdk.kotlin.services.ssm.model.MaintenanceWindowStepFunctionsParameters.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.ssm.model



/**
 * The parameters for a `STEP_FUNCTIONS` task.
 *
 * For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.
 *
 * `LoggingInfo` has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the `OutputS3BucketName` and `OutputS3KeyPrefix` options in the `TaskInvocationParameters` structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
 *
 * `TaskParameters` has been deprecated. To specify parameters to pass to a task when it runs, instead use the `Parameters` option in the `TaskInvocationParameters` structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
 *
 * For Step Functions tasks, Systems Manager ignores any values specified for `TaskParameters` and `LoggingInfo`.
 */
public class MaintenanceWindowStepFunctionsParameters private constructor(builder: Builder) {
    /**
     * The inputs for the `STEP_FUNCTIONS` task.
     */
    public val input: kotlin.String? = builder.input
    /**
     * The name of the `STEP_FUNCTIONS` task.
     */
    public val name: kotlin.String? = builder.name

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

    override fun toString(): kotlin.String = buildString {
        append("MaintenanceWindowStepFunctionsParameters(")
        append("input=*** Sensitive Data Redacted ***,")
        append("name=$name")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = input?.hashCode() ?: 0
        result = 31 * result + (name?.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 MaintenanceWindowStepFunctionsParameters

        if (input != other.input) return false
        if (name != other.name) return false

        return true
    }

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

    public class Builder {
        /**
         * The inputs for the `STEP_FUNCTIONS` task.
         */
        public var input: kotlin.String? = null
        /**
         * The name of the `STEP_FUNCTIONS` task.
         */
        public var name: kotlin.String? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.ssm.model.MaintenanceWindowStepFunctionsParameters) : this() {
            this.input = x.input
            this.name = x.name
        }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy