// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.redshift.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class SnapshotScheduleAssociationState extends com.pulumi.resources.ResourceArgs {

    public static final SnapshotScheduleAssociationState Empty = new SnapshotScheduleAssociationState();

    /**
     * The cluster identifier.
     * 
     */
    @Import(name="clusterIdentifier")
    private @Nullable Output<String> clusterIdentifier;

    /**
     * @return The cluster identifier.
     * 
     */
    public Optional<Output<String>> clusterIdentifier() {
        return Optional.ofNullable(this.clusterIdentifier);
    }

    /**
     * The snapshot schedule identifier.
     * 
     */
    @Import(name="scheduleIdentifier")
    private @Nullable Output<String> scheduleIdentifier;

    /**
     * @return The snapshot schedule identifier.
     * 
     */
    public Optional<Output<String>> scheduleIdentifier() {
        return Optional.ofNullable(this.scheduleIdentifier);
    }

    private SnapshotScheduleAssociationState() {}

    private SnapshotScheduleAssociationState(SnapshotScheduleAssociationState $) {
        this.clusterIdentifier = $.clusterIdentifier;
        this.scheduleIdentifier = $.scheduleIdentifier;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(SnapshotScheduleAssociationState defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private SnapshotScheduleAssociationState $;

        public Builder() {
            $ = new SnapshotScheduleAssociationState();
        }

        public Builder(SnapshotScheduleAssociationState defaults) {
            $ = new SnapshotScheduleAssociationState(Objects.requireNonNull(defaults));
        }

        /**
         * @param clusterIdentifier The cluster identifier.
         * 
         * @return builder
         * 
         */
        public Builder clusterIdentifier(@Nullable Output<String> clusterIdentifier) {
            $.clusterIdentifier = clusterIdentifier;
            return this;
        }

        /**
         * @param clusterIdentifier The cluster identifier.
         * 
         * @return builder
         * 
         */
        public Builder clusterIdentifier(String clusterIdentifier) {
            return clusterIdentifier(Output.of(clusterIdentifier));
        }

        /**
         * @param scheduleIdentifier The snapshot schedule identifier.
         * 
         * @return builder
         * 
         */
        public Builder scheduleIdentifier(@Nullable Output<String> scheduleIdentifier) {
            $.scheduleIdentifier = scheduleIdentifier;
            return this;
        }

        /**
         * @param scheduleIdentifier The snapshot schedule identifier.
         * 
         * @return builder
         * 
         */
        public Builder scheduleIdentifier(String scheduleIdentifier) {
            return scheduleIdentifier(Output.of(scheduleIdentifier));
        }

        public SnapshotScheduleAssociationState build() {
            return $;
        }
    }

}
