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

com.pulumi.azurenative.machinelearningservices.outputs.AzureDataLakeGen2DatastoreResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.machinelearningservices.outputs;

import com.pulumi.azurenative.machinelearningservices.outputs.AccountKeyDatastoreCredentialsResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.CertificateDatastoreCredentialsResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.NoneDatastoreCredentialsResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.SasDatastoreCredentialsResponse;
import com.pulumi.azurenative.machinelearningservices.outputs.ServicePrincipalDatastoreCredentialsResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Object;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AzureDataLakeGen2DatastoreResponse {
    /**
     * @return [Required] Storage account name.
     * 
     */
    private String accountName;
    /**
     * @return [Required] Account credentials.
     * 
     */
    private Object credentials;
    /**
     * @return Enum to determine the datastore contents type.
     * Expected value is 'AzureDataLakeGen2'.
     * 
     */
    private String datastoreType;
    /**
     * @return The asset description text.
     * 
     */
    private @Nullable String description;
    /**
     * @return Azure cloud endpoint for the storage account.
     * 
     */
    private @Nullable String endpoint;
    /**
     * @return [Required] The name of the Data Lake Gen2 filesystem.
     * 
     */
    private String filesystem;
    /**
     * @return Readonly property to indicate if datastore is the workspace default datastore
     * 
     */
    private Boolean isDefault;
    /**
     * @return The asset property dictionary.
     * 
     */
    private @Nullable Map properties;
    /**
     * @return Protocol used to communicate with the storage account.
     * 
     */
    private @Nullable String protocol;
    /**
     * @return Indicates which identity to use to authenticate service data access to customer's storage.
     * 
     */
    private @Nullable String serviceDataAccessAuthIdentity;
    /**
     * @return Tag dictionary. Tags can be added, removed, and updated.
     * 
     */
    private @Nullable Map tags;

    private AzureDataLakeGen2DatastoreResponse() {}
    /**
     * @return [Required] Storage account name.
     * 
     */
    public String accountName() {
        return this.accountName;
    }
    /**
     * @return [Required] Account credentials.
     * 
     */
    public Object credentials() {
        return this.credentials;
    }
    /**
     * @return Enum to determine the datastore contents type.
     * Expected value is 'AzureDataLakeGen2'.
     * 
     */
    public String datastoreType() {
        return this.datastoreType;
    }
    /**
     * @return The asset description text.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return Azure cloud endpoint for the storage account.
     * 
     */
    public Optional endpoint() {
        return Optional.ofNullable(this.endpoint);
    }
    /**
     * @return [Required] The name of the Data Lake Gen2 filesystem.
     * 
     */
    public String filesystem() {
        return this.filesystem;
    }
    /**
     * @return Readonly property to indicate if datastore is the workspace default datastore
     * 
     */
    public Boolean isDefault() {
        return this.isDefault;
    }
    /**
     * @return The asset property dictionary.
     * 
     */
    public Map properties() {
        return this.properties == null ? Map.of() : this.properties;
    }
    /**
     * @return Protocol used to communicate with the storage account.
     * 
     */
    public Optional protocol() {
        return Optional.ofNullable(this.protocol);
    }
    /**
     * @return Indicates which identity to use to authenticate service data access to customer's storage.
     * 
     */
    public Optional serviceDataAccessAuthIdentity() {
        return Optional.ofNullable(this.serviceDataAccessAuthIdentity);
    }
    /**
     * @return Tag dictionary. Tags can be added, removed, and updated.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }

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

    public static Builder builder(AzureDataLakeGen2DatastoreResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String accountName;
        private Object credentials;
        private String datastoreType;
        private @Nullable String description;
        private @Nullable String endpoint;
        private String filesystem;
        private Boolean isDefault;
        private @Nullable Map properties;
        private @Nullable String protocol;
        private @Nullable String serviceDataAccessAuthIdentity;
        private @Nullable Map tags;
        public Builder() {}
        public Builder(AzureDataLakeGen2DatastoreResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accountName = defaults.accountName;
    	      this.credentials = defaults.credentials;
    	      this.datastoreType = defaults.datastoreType;
    	      this.description = defaults.description;
    	      this.endpoint = defaults.endpoint;
    	      this.filesystem = defaults.filesystem;
    	      this.isDefault = defaults.isDefault;
    	      this.properties = defaults.properties;
    	      this.protocol = defaults.protocol;
    	      this.serviceDataAccessAuthIdentity = defaults.serviceDataAccessAuthIdentity;
    	      this.tags = defaults.tags;
        }

        @CustomType.Setter
        public Builder accountName(String accountName) {
            if (accountName == null) {
              throw new MissingRequiredPropertyException("AzureDataLakeGen2DatastoreResponse", "accountName");
            }
            this.accountName = accountName;
            return this;
        }
        @CustomType.Setter
        public Builder credentials(Object credentials) {
            if (credentials == null) {
              throw new MissingRequiredPropertyException("AzureDataLakeGen2DatastoreResponse", "credentials");
            }
            this.credentials = credentials;
            return this;
        }
        @CustomType.Setter
        public Builder datastoreType(String datastoreType) {
            if (datastoreType == null) {
              throw new MissingRequiredPropertyException("AzureDataLakeGen2DatastoreResponse", "datastoreType");
            }
            this.datastoreType = datastoreType;
            return this;
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder endpoint(@Nullable String endpoint) {

            this.endpoint = endpoint;
            return this;
        }
        @CustomType.Setter
        public Builder filesystem(String filesystem) {
            if (filesystem == null) {
              throw new MissingRequiredPropertyException("AzureDataLakeGen2DatastoreResponse", "filesystem");
            }
            this.filesystem = filesystem;
            return this;
        }
        @CustomType.Setter
        public Builder isDefault(Boolean isDefault) {
            if (isDefault == null) {
              throw new MissingRequiredPropertyException("AzureDataLakeGen2DatastoreResponse", "isDefault");
            }
            this.isDefault = isDefault;
            return this;
        }
        @CustomType.Setter
        public Builder properties(@Nullable Map properties) {

            this.properties = properties;
            return this;
        }
        @CustomType.Setter
        public Builder protocol(@Nullable String protocol) {

            this.protocol = protocol;
            return this;
        }
        @CustomType.Setter
        public Builder serviceDataAccessAuthIdentity(@Nullable String serviceDataAccessAuthIdentity) {

            this.serviceDataAccessAuthIdentity = serviceDataAccessAuthIdentity;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        public AzureDataLakeGen2DatastoreResponse build() {
            final var _resultValue = new AzureDataLakeGen2DatastoreResponse();
            _resultValue.accountName = accountName;
            _resultValue.credentials = credentials;
            _resultValue.datastoreType = datastoreType;
            _resultValue.description = description;
            _resultValue.endpoint = endpoint;
            _resultValue.filesystem = filesystem;
            _resultValue.isDefault = isDefault;
            _resultValue.properties = properties;
            _resultValue.protocol = protocol;
            _resultValue.serviceDataAccessAuthIdentity = serviceDataAccessAuthIdentity;
            _resultValue.tags = tags;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy