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

com.pulumi.azure.datashare.inputs.ShareState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show 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.azure.datashare.inputs;

import com.pulumi.azure.datashare.inputs.ShareSnapshotScheduleArgs;
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 ShareState extends com.pulumi.resources.ResourceArgs {

    public static final ShareState Empty = new ShareState();

    /**
     * The ID of the Data Share account in which the Data Share is created. Changing this forces a new Data Share to be created.
     * 
     */
    @Import(name="accountId")
    private @Nullable Output accountId;

    /**
     * @return The ID of the Data Share account in which the Data Share is created. Changing this forces a new Data Share to be created.
     * 
     */
    public Optional> accountId() {
        return Optional.ofNullable(this.accountId);
    }

    /**
     * The Data Share's description.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The Data Share's description.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The kind of the Data Share. Possible values are `CopyBased` and `InPlace`. Changing this forces a new Data Share to be created.
     * 
     */
    @Import(name="kind")
    private @Nullable Output kind;

    /**
     * @return The kind of the Data Share. Possible values are `CopyBased` and `InPlace`. Changing this forces a new Data Share to be created.
     * 
     */
    public Optional> kind() {
        return Optional.ofNullable(this.kind);
    }

    /**
     * The name which should be used for this Data Share. Changing this forces a new Data Share to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Data Share. Changing this forces a new Data Share to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * A `snapshot_schedule` block as defined below.
     * 
     */
    @Import(name="snapshotSchedule")
    private @Nullable Output snapshotSchedule;

    /**
     * @return A `snapshot_schedule` block as defined below.
     * 
     */
    public Optional> snapshotSchedule() {
        return Optional.ofNullable(this.snapshotSchedule);
    }

    /**
     * The terms of the Data Share.
     * 
     */
    @Import(name="terms")
    private @Nullable Output terms;

    /**
     * @return The terms of the Data Share.
     * 
     */
    public Optional> terms() {
        return Optional.ofNullable(this.terms);
    }

    private ShareState() {}

    private ShareState(ShareState $) {
        this.accountId = $.accountId;
        this.description = $.description;
        this.kind = $.kind;
        this.name = $.name;
        this.snapshotSchedule = $.snapshotSchedule;
        this.terms = $.terms;
    }

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

    public static final class Builder {
        private ShareState $;

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

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

        /**
         * @param accountId The ID of the Data Share account in which the Data Share is created. Changing this forces a new Data Share to be created.
         * 
         * @return builder
         * 
         */
        public Builder accountId(@Nullable Output accountId) {
            $.accountId = accountId;
            return this;
        }

        /**
         * @param accountId The ID of the Data Share account in which the Data Share is created. Changing this forces a new Data Share to be created.
         * 
         * @return builder
         * 
         */
        public Builder accountId(String accountId) {
            return accountId(Output.of(accountId));
        }

        /**
         * @param description The Data Share's description.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The Data Share's description.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param kind The kind of the Data Share. Possible values are `CopyBased` and `InPlace`. Changing this forces a new Data Share to be created.
         * 
         * @return builder
         * 
         */
        public Builder kind(@Nullable Output kind) {
            $.kind = kind;
            return this;
        }

        /**
         * @param kind The kind of the Data Share. Possible values are `CopyBased` and `InPlace`. Changing this forces a new Data Share to be created.
         * 
         * @return builder
         * 
         */
        public Builder kind(String kind) {
            return kind(Output.of(kind));
        }

        /**
         * @param name The name which should be used for this Data Share. Changing this forces a new Data Share to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Data Share. Changing this forces a new Data Share to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param snapshotSchedule A `snapshot_schedule` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder snapshotSchedule(@Nullable Output snapshotSchedule) {
            $.snapshotSchedule = snapshotSchedule;
            return this;
        }

        /**
         * @param snapshotSchedule A `snapshot_schedule` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder snapshotSchedule(ShareSnapshotScheduleArgs snapshotSchedule) {
            return snapshotSchedule(Output.of(snapshotSchedule));
        }

        /**
         * @param terms The terms of the Data Share.
         * 
         * @return builder
         * 
         */
        public Builder terms(@Nullable Output terms) {
            $.terms = terms;
            return this;
        }

        /**
         * @param terms The terms of the Data Share.
         * 
         * @return builder
         * 
         */
        public Builder terms(String terms) {
            return terms(Output.of(terms));
        }

        public ShareState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy