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

com.pulumi.azurenative.storagecache.AmlFilesystemArgs 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.storagecache;

import com.pulumi.azurenative.storagecache.inputs.AmlFilesystemEncryptionSettingsArgs;
import com.pulumi.azurenative.storagecache.inputs.AmlFilesystemHsmArgs;
import com.pulumi.azurenative.storagecache.inputs.AmlFilesystemIdentityArgs;
import com.pulumi.azurenative.storagecache.inputs.AmlFilesystemMaintenanceWindowArgs;
import com.pulumi.azurenative.storagecache.inputs.SkuNameArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final AmlFilesystemArgs Empty = new AmlFilesystemArgs();

    /**
     * Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
     * 
     */
    @Import(name="amlFilesystemName")
    private @Nullable Output amlFilesystemName;

    /**
     * @return Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
     * 
     */
    public Optional> amlFilesystemName() {
        return Optional.ofNullable(this.amlFilesystemName);
    }

    /**
     * Specifies encryption settings of the AML file system.
     * 
     */
    @Import(name="encryptionSettings")
    private @Nullable Output encryptionSettings;

    /**
     * @return Specifies encryption settings of the AML file system.
     * 
     */
    public Optional> encryptionSettings() {
        return Optional.ofNullable(this.encryptionSettings);
    }

    /**
     * Subnet used for managing the AML file system and for client-facing operations. This subnet should have at least a /24 subnet mask within the VNET's address space.
     * 
     */
    @Import(name="filesystemSubnet", required=true)
    private Output filesystemSubnet;

    /**
     * @return Subnet used for managing the AML file system and for client-facing operations. This subnet should have at least a /24 subnet mask within the VNET's address space.
     * 
     */
    public Output filesystemSubnet() {
        return this.filesystemSubnet;
    }

    /**
     * Hydration and archive settings and status
     * 
     */
    @Import(name="hsm")
    private @Nullable Output hsm;

    /**
     * @return Hydration and archive settings and status
     * 
     */
    public Optional> hsm() {
        return Optional.ofNullable(this.hsm);
    }

    /**
     * The managed identity used by the AML file system, if configured.
     * 
     */
    @Import(name="identity")
    private @Nullable Output identity;

    /**
     * @return The managed identity used by the AML file system, if configured.
     * 
     */
    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * The geo-location where the resource lives
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The geo-location where the resource lives
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Start time of a 30-minute weekly maintenance window.
     * 
     */
    @Import(name="maintenanceWindow", required=true)
    private Output maintenanceWindow;

    /**
     * @return Start time of a 30-minute weekly maintenance window.
     * 
     */
    public Output maintenanceWindow() {
        return this.maintenanceWindow;
    }

    /**
     * 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;
    }

    /**
     * SKU for the resource.
     * 
     */
    @Import(name="sku")
    private @Nullable Output sku;

    /**
     * @return SKU for the resource.
     * 
     */
    public Optional> sku() {
        return Optional.ofNullable(this.sku);
    }

    /**
     * The size of the AML file system, in TiB. This might be rounded up.
     * 
     */
    @Import(name="storageCapacityTiB", required=true)
    private Output storageCapacityTiB;

    /**
     * @return The size of the AML file system, in TiB. This might be rounded up.
     * 
     */
    public Output storageCapacityTiB() {
        return this.storageCapacityTiB;
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Availability zones for resources. This field should only contain a single element in the array.
     * 
     */
    @Import(name="zones")
    private @Nullable Output> zones;

    /**
     * @return Availability zones for resources. This field should only contain a single element in the array.
     * 
     */
    public Optional>> zones() {
        return Optional.ofNullable(this.zones);
    }

    private AmlFilesystemArgs() {}

    private AmlFilesystemArgs(AmlFilesystemArgs $) {
        this.amlFilesystemName = $.amlFilesystemName;
        this.encryptionSettings = $.encryptionSettings;
        this.filesystemSubnet = $.filesystemSubnet;
        this.hsm = $.hsm;
        this.identity = $.identity;
        this.location = $.location;
        this.maintenanceWindow = $.maintenanceWindow;
        this.resourceGroupName = $.resourceGroupName;
        this.sku = $.sku;
        this.storageCapacityTiB = $.storageCapacityTiB;
        this.tags = $.tags;
        this.zones = $.zones;
    }

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

    public static final class Builder {
        private AmlFilesystemArgs $;

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

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

        /**
         * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
         * 
         * @return builder
         * 
         */
        public Builder amlFilesystemName(@Nullable Output amlFilesystemName) {
            $.amlFilesystemName = amlFilesystemName;
            return this;
        }

        /**
         * @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.
         * 
         * @return builder
         * 
         */
        public Builder amlFilesystemName(String amlFilesystemName) {
            return amlFilesystemName(Output.of(amlFilesystemName));
        }

        /**
         * @param encryptionSettings Specifies encryption settings of the AML file system.
         * 
         * @return builder
         * 
         */
        public Builder encryptionSettings(@Nullable Output encryptionSettings) {
            $.encryptionSettings = encryptionSettings;
            return this;
        }

        /**
         * @param encryptionSettings Specifies encryption settings of the AML file system.
         * 
         * @return builder
         * 
         */
        public Builder encryptionSettings(AmlFilesystemEncryptionSettingsArgs encryptionSettings) {
            return encryptionSettings(Output.of(encryptionSettings));
        }

        /**
         * @param filesystemSubnet Subnet used for managing the AML file system and for client-facing operations. This subnet should have at least a /24 subnet mask within the VNET's address space.
         * 
         * @return builder
         * 
         */
        public Builder filesystemSubnet(Output filesystemSubnet) {
            $.filesystemSubnet = filesystemSubnet;
            return this;
        }

        /**
         * @param filesystemSubnet Subnet used for managing the AML file system and for client-facing operations. This subnet should have at least a /24 subnet mask within the VNET's address space.
         * 
         * @return builder
         * 
         */
        public Builder filesystemSubnet(String filesystemSubnet) {
            return filesystemSubnet(Output.of(filesystemSubnet));
        }

        /**
         * @param hsm Hydration and archive settings and status
         * 
         * @return builder
         * 
         */
        public Builder hsm(@Nullable Output hsm) {
            $.hsm = hsm;
            return this;
        }

        /**
         * @param hsm Hydration and archive settings and status
         * 
         * @return builder
         * 
         */
        public Builder hsm(AmlFilesystemHsmArgs hsm) {
            return hsm(Output.of(hsm));
        }

        /**
         * @param identity The managed identity used by the AML file system, if configured.
         * 
         * @return builder
         * 
         */
        public Builder identity(@Nullable Output identity) {
            $.identity = identity;
            return this;
        }

        /**
         * @param identity The managed identity used by the AML file system, if configured.
         * 
         * @return builder
         * 
         */
        public Builder identity(AmlFilesystemIdentityArgs identity) {
            return identity(Output.of(identity));
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param maintenanceWindow Start time of a 30-minute weekly maintenance window.
         * 
         * @return builder
         * 
         */
        public Builder maintenanceWindow(Output maintenanceWindow) {
            $.maintenanceWindow = maintenanceWindow;
            return this;
        }

        /**
         * @param maintenanceWindow Start time of a 30-minute weekly maintenance window.
         * 
         * @return builder
         * 
         */
        public Builder maintenanceWindow(AmlFilesystemMaintenanceWindowArgs maintenanceWindow) {
            return maintenanceWindow(Output.of(maintenanceWindow));
        }

        /**
         * @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 sku SKU for the resource.
         * 
         * @return builder
         * 
         */
        public Builder sku(@Nullable Output sku) {
            $.sku = sku;
            return this;
        }

        /**
         * @param sku SKU for the resource.
         * 
         * @return builder
         * 
         */
        public Builder sku(SkuNameArgs sku) {
            return sku(Output.of(sku));
        }

        /**
         * @param storageCapacityTiB The size of the AML file system, in TiB. This might be rounded up.
         * 
         * @return builder
         * 
         */
        public Builder storageCapacityTiB(Output storageCapacityTiB) {
            $.storageCapacityTiB = storageCapacityTiB;
            return this;
        }

        /**
         * @param storageCapacityTiB The size of the AML file system, in TiB. This might be rounded up.
         * 
         * @return builder
         * 
         */
        public Builder storageCapacityTiB(Double storageCapacityTiB) {
            return storageCapacityTiB(Output.of(storageCapacityTiB));
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param zones Availability zones for resources. This field should only contain a single element in the array.
         * 
         * @return builder
         * 
         */
        public Builder zones(@Nullable Output> zones) {
            $.zones = zones;
            return this;
        }

        /**
         * @param zones Availability zones for resources. This field should only contain a single element in the array.
         * 
         * @return builder
         * 
         */
        public Builder zones(List zones) {
            return zones(Output.of(zones));
        }

        /**
         * @param zones Availability zones for resources. This field should only contain a single element in the array.
         * 
         * @return builder
         * 
         */
        public Builder zones(String... zones) {
            return zones(List.of(zones));
        }

        public AmlFilesystemArgs build() {
            if ($.filesystemSubnet == null) {
                throw new MissingRequiredPropertyException("AmlFilesystemArgs", "filesystemSubnet");
            }
            if ($.maintenanceWindow == null) {
                throw new MissingRequiredPropertyException("AmlFilesystemArgs", "maintenanceWindow");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("AmlFilesystemArgs", "resourceGroupName");
            }
            if ($.storageCapacityTiB == null) {
                throw new MissingRequiredPropertyException("AmlFilesystemArgs", "storageCapacityTiB");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy