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

com.pulumi.azurenative.storagesync.CloudEndpointArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.storagesync;

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 CloudEndpointArgs extends com.pulumi.resources.ResourceArgs {

    public static final CloudEndpointArgs Empty = new CloudEndpointArgs();

    /**
     * Azure file share name
     * 
     */
    @Import(name="azureFileShareName")
    private @Nullable Output azureFileShareName;

    /**
     * @return Azure file share name
     * 
     */
    public Optional> azureFileShareName() {
        return Optional.ofNullable(this.azureFileShareName);
    }

    /**
     * Name of Cloud Endpoint object.
     * 
     */
    @Import(name="cloudEndpointName")
    private @Nullable Output cloudEndpointName;

    /**
     * @return Name of Cloud Endpoint object.
     * 
     */
    public Optional> cloudEndpointName() {
        return Optional.ofNullable(this.cloudEndpointName);
    }

    /**
     * Friendly Name
     * 
     */
    @Import(name="friendlyName")
    private @Nullable Output friendlyName;

    /**
     * @return Friendly Name
     * 
     */
    public Optional> friendlyName() {
        return Optional.ofNullable(this.friendlyName);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Storage Account Resource Id
     * 
     */
    @Import(name="storageAccountResourceId")
    private @Nullable Output storageAccountResourceId;

    /**
     * @return Storage Account Resource Id
     * 
     */
    public Optional> storageAccountResourceId() {
        return Optional.ofNullable(this.storageAccountResourceId);
    }

    /**
     * Storage Account Tenant Id
     * 
     */
    @Import(name="storageAccountTenantId")
    private @Nullable Output storageAccountTenantId;

    /**
     * @return Storage Account Tenant Id
     * 
     */
    public Optional> storageAccountTenantId() {
        return Optional.ofNullable(this.storageAccountTenantId);
    }

    /**
     * Name of Storage Sync Service resource.
     * 
     */
    @Import(name="storageSyncServiceName", required=true)
    private Output storageSyncServiceName;

    /**
     * @return Name of Storage Sync Service resource.
     * 
     */
    public Output storageSyncServiceName() {
        return this.storageSyncServiceName;
    }

    /**
     * Name of Sync Group resource.
     * 
     */
    @Import(name="syncGroupName", required=true)
    private Output syncGroupName;

    /**
     * @return Name of Sync Group resource.
     * 
     */
    public Output syncGroupName() {
        return this.syncGroupName;
    }

    private CloudEndpointArgs() {}

    private CloudEndpointArgs(CloudEndpointArgs $) {
        this.azureFileShareName = $.azureFileShareName;
        this.cloudEndpointName = $.cloudEndpointName;
        this.friendlyName = $.friendlyName;
        this.resourceGroupName = $.resourceGroupName;
        this.storageAccountResourceId = $.storageAccountResourceId;
        this.storageAccountTenantId = $.storageAccountTenantId;
        this.storageSyncServiceName = $.storageSyncServiceName;
        this.syncGroupName = $.syncGroupName;
    }

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

    public static final class Builder {
        private CloudEndpointArgs $;

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

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

        /**
         * @param azureFileShareName Azure file share name
         * 
         * @return builder
         * 
         */
        public Builder azureFileShareName(@Nullable Output azureFileShareName) {
            $.azureFileShareName = azureFileShareName;
            return this;
        }

        /**
         * @param azureFileShareName Azure file share name
         * 
         * @return builder
         * 
         */
        public Builder azureFileShareName(String azureFileShareName) {
            return azureFileShareName(Output.of(azureFileShareName));
        }

        /**
         * @param cloudEndpointName Name of Cloud Endpoint object.
         * 
         * @return builder
         * 
         */
        public Builder cloudEndpointName(@Nullable Output cloudEndpointName) {
            $.cloudEndpointName = cloudEndpointName;
            return this;
        }

        /**
         * @param cloudEndpointName Name of Cloud Endpoint object.
         * 
         * @return builder
         * 
         */
        public Builder cloudEndpointName(String cloudEndpointName) {
            return cloudEndpointName(Output.of(cloudEndpointName));
        }

        /**
         * @param friendlyName Friendly Name
         * 
         * @return builder
         * 
         */
        public Builder friendlyName(@Nullable Output friendlyName) {
            $.friendlyName = friendlyName;
            return this;
        }

        /**
         * @param friendlyName Friendly Name
         * 
         * @return builder
         * 
         */
        public Builder friendlyName(String friendlyName) {
            return friendlyName(Output.of(friendlyName));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param storageAccountResourceId Storage Account Resource Id
         * 
         * @return builder
         * 
         */
        public Builder storageAccountResourceId(@Nullable Output storageAccountResourceId) {
            $.storageAccountResourceId = storageAccountResourceId;
            return this;
        }

        /**
         * @param storageAccountResourceId Storage Account Resource Id
         * 
         * @return builder
         * 
         */
        public Builder storageAccountResourceId(String storageAccountResourceId) {
            return storageAccountResourceId(Output.of(storageAccountResourceId));
        }

        /**
         * @param storageAccountTenantId Storage Account Tenant Id
         * 
         * @return builder
         * 
         */
        public Builder storageAccountTenantId(@Nullable Output storageAccountTenantId) {
            $.storageAccountTenantId = storageAccountTenantId;
            return this;
        }

        /**
         * @param storageAccountTenantId Storage Account Tenant Id
         * 
         * @return builder
         * 
         */
        public Builder storageAccountTenantId(String storageAccountTenantId) {
            return storageAccountTenantId(Output.of(storageAccountTenantId));
        }

        /**
         * @param storageSyncServiceName Name of Storage Sync Service resource.
         * 
         * @return builder
         * 
         */
        public Builder storageSyncServiceName(Output storageSyncServiceName) {
            $.storageSyncServiceName = storageSyncServiceName;
            return this;
        }

        /**
         * @param storageSyncServiceName Name of Storage Sync Service resource.
         * 
         * @return builder
         * 
         */
        public Builder storageSyncServiceName(String storageSyncServiceName) {
            return storageSyncServiceName(Output.of(storageSyncServiceName));
        }

        /**
         * @param syncGroupName Name of Sync Group resource.
         * 
         * @return builder
         * 
         */
        public Builder syncGroupName(Output syncGroupName) {
            $.syncGroupName = syncGroupName;
            return this;
        }

        /**
         * @param syncGroupName Name of Sync Group resource.
         * 
         * @return builder
         * 
         */
        public Builder syncGroupName(String syncGroupName) {
            return syncGroupName(Output.of(syncGroupName));
        }

        public CloudEndpointArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("CloudEndpointArgs", "resourceGroupName");
            }
            if ($.storageSyncServiceName == null) {
                throw new MissingRequiredPropertyException("CloudEndpointArgs", "storageSyncServiceName");
            }
            if ($.syncGroupName == null) {
                throw new MissingRequiredPropertyException("CloudEndpointArgs", "syncGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy