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

com.pulumi.azure.storage.inputs.SyncGroupState Maven / Gradle / Ivy

// *** 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.storage.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 SyncGroupState extends com.pulumi.resources.ResourceArgs {

    public static final SyncGroupState Empty = new SyncGroupState();

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

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

    /**
     * The resource ID of the Storage Sync where this Storage Sync Group is. Changing this forces a new Storage Sync Group to be created.
     * 
     */
    @Import(name="storageSyncId")
    private @Nullable Output storageSyncId;

    /**
     * @return The resource ID of the Storage Sync where this Storage Sync Group is. Changing this forces a new Storage Sync Group to be created.
     * 
     */
    public Optional> storageSyncId() {
        return Optional.ofNullable(this.storageSyncId);
    }

    private SyncGroupState() {}

    private SyncGroupState(SyncGroupState $) {
        this.name = $.name;
        this.storageSyncId = $.storageSyncId;
    }

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

    public static final class Builder {
        private SyncGroupState $;

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

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

        /**
         * @param name The name which should be used for this Storage Sync Group. Changing this forces a new Storage Sync Group 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 Storage Sync Group. Changing this forces a new Storage Sync Group to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param storageSyncId The resource ID of the Storage Sync where this Storage Sync Group is. Changing this forces a new Storage Sync Group to be created.
         * 
         * @return builder
         * 
         */
        public Builder storageSyncId(@Nullable Output storageSyncId) {
            $.storageSyncId = storageSyncId;
            return this;
        }

        /**
         * @param storageSyncId The resource ID of the Storage Sync where this Storage Sync Group is. Changing this forces a new Storage Sync Group to be created.
         * 
         * @return builder
         * 
         */
        public Builder storageSyncId(String storageSyncId) {
            return storageSyncId(Output.of(storageSyncId));
        }

        public SyncGroupState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy