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

com.pulumi.aws.quicksight.RefreshScheduleArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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.quicksight;

import com.pulumi.aws.quicksight.inputs.RefreshScheduleScheduleArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final RefreshScheduleArgs Empty = new RefreshScheduleArgs();

    /**
     * AWS account ID.
     * 
     */
    @Import(name="awsAccountId")
    private @Nullable Output awsAccountId;

    /**
     * @return AWS account ID.
     * 
     */
    public Optional> awsAccountId() {
        return Optional.ofNullable(this.awsAccountId);
    }

    /**
     * The ID of the dataset.
     * 
     */
    @Import(name="dataSetId", required=true)
    private Output dataSetId;

    /**
     * @return The ID of the dataset.
     * 
     */
    public Output dataSetId() {
        return this.dataSetId;
    }

    /**
     * The [refresh schedule](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_RefreshSchedule.html). See schedule
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="schedule")
    private @Nullable Output schedule;

    /**
     * @return The [refresh schedule](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_RefreshSchedule.html). See schedule
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> schedule() {
        return Optional.ofNullable(this.schedule);
    }

    /**
     * The ID of the refresh schedule.
     * 
     */
    @Import(name="scheduleId", required=true)
    private Output scheduleId;

    /**
     * @return The ID of the refresh schedule.
     * 
     */
    public Output scheduleId() {
        return this.scheduleId;
    }

    private RefreshScheduleArgs() {}

    private RefreshScheduleArgs(RefreshScheduleArgs $) {
        this.awsAccountId = $.awsAccountId;
        this.dataSetId = $.dataSetId;
        this.schedule = $.schedule;
        this.scheduleId = $.scheduleId;
    }

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

    public static final class Builder {
        private RefreshScheduleArgs $;

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

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

        /**
         * @param awsAccountId AWS account ID.
         * 
         * @return builder
         * 
         */
        public Builder awsAccountId(@Nullable Output awsAccountId) {
            $.awsAccountId = awsAccountId;
            return this;
        }

        /**
         * @param awsAccountId AWS account ID.
         * 
         * @return builder
         * 
         */
        public Builder awsAccountId(String awsAccountId) {
            return awsAccountId(Output.of(awsAccountId));
        }

        /**
         * @param dataSetId The ID of the dataset.
         * 
         * @return builder
         * 
         */
        public Builder dataSetId(Output dataSetId) {
            $.dataSetId = dataSetId;
            return this;
        }

        /**
         * @param dataSetId The ID of the dataset.
         * 
         * @return builder
         * 
         */
        public Builder dataSetId(String dataSetId) {
            return dataSetId(Output.of(dataSetId));
        }

        /**
         * @param schedule The [refresh schedule](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_RefreshSchedule.html). See schedule
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder schedule(@Nullable Output schedule) {
            $.schedule = schedule;
            return this;
        }

        /**
         * @param schedule The [refresh schedule](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_RefreshSchedule.html). See schedule
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder schedule(RefreshScheduleScheduleArgs schedule) {
            return schedule(Output.of(schedule));
        }

        /**
         * @param scheduleId The ID of the refresh schedule.
         * 
         * @return builder
         * 
         */
        public Builder scheduleId(Output scheduleId) {
            $.scheduleId = scheduleId;
            return this;
        }

        /**
         * @param scheduleId The ID of the refresh schedule.
         * 
         * @return builder
         * 
         */
        public Builder scheduleId(String scheduleId) {
            return scheduleId(Output.of(scheduleId));
        }

        public RefreshScheduleArgs build() {
            if ($.dataSetId == null) {
                throw new MissingRequiredPropertyException("RefreshScheduleArgs", "dataSetId");
            }
            if ($.scheduleId == null) {
                throw new MissingRequiredPropertyException("RefreshScheduleArgs", "scheduleId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy