
com.pulumi.azurenative.machinelearningservices.outputs.AzureDataLakeGen1DatastoreResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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 AzureDataLakeGen1DatastoreResponse {
/**
* @return [Required] Account credentials.
*
*/
private Object credentials;
/**
* @return Enum to determine the datastore contents type.
* Expected value is 'AzureDataLakeGen1'.
*
*/
private String datastoreType;
/**
* @return The asset description text.
*
*/
private @Nullable String description;
/**
* @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 Indicates which identity to use to authenticate service data access to customer's storage.
*
*/
private @Nullable String serviceDataAccessAuthIdentity;
/**
* @return [Required] Azure Data Lake store name.
*
*/
private String storeName;
/**
* @return Tag dictionary. Tags can be added, removed, and updated.
*
*/
private @Nullable Map tags;
private AzureDataLakeGen1DatastoreResponse() {}
/**
* @return [Required] Account credentials.
*
*/
public Object credentials() {
return this.credentials;
}
/**
* @return Enum to determine the datastore contents type.
* Expected value is 'AzureDataLakeGen1'.
*
*/
public String datastoreType() {
return this.datastoreType;
}
/**
* @return The asset description text.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @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 Indicates which identity to use to authenticate service data access to customer's storage.
*
*/
public Optional serviceDataAccessAuthIdentity() {
return Optional.ofNullable(this.serviceDataAccessAuthIdentity);
}
/**
* @return [Required] Azure Data Lake store name.
*
*/
public String storeName() {
return this.storeName;
}
/**
* @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(AzureDataLakeGen1DatastoreResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Object credentials;
private String datastoreType;
private @Nullable String description;
private Boolean isDefault;
private @Nullable Map properties;
private @Nullable String serviceDataAccessAuthIdentity;
private String storeName;
private @Nullable Map tags;
public Builder() {}
public Builder(AzureDataLakeGen1DatastoreResponse defaults) {
Objects.requireNonNull(defaults);
this.credentials = defaults.credentials;
this.datastoreType = defaults.datastoreType;
this.description = defaults.description;
this.isDefault = defaults.isDefault;
this.properties = defaults.properties;
this.serviceDataAccessAuthIdentity = defaults.serviceDataAccessAuthIdentity;
this.storeName = defaults.storeName;
this.tags = defaults.tags;
}
@CustomType.Setter
public Builder credentials(Object credentials) {
if (credentials == null) {
throw new MissingRequiredPropertyException("AzureDataLakeGen1DatastoreResponse", "credentials");
}
this.credentials = credentials;
return this;
}
@CustomType.Setter
public Builder datastoreType(String datastoreType) {
if (datastoreType == null) {
throw new MissingRequiredPropertyException("AzureDataLakeGen1DatastoreResponse", "datastoreType");
}
this.datastoreType = datastoreType;
return this;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder isDefault(Boolean isDefault) {
if (isDefault == null) {
throw new MissingRequiredPropertyException("AzureDataLakeGen1DatastoreResponse", "isDefault");
}
this.isDefault = isDefault;
return this;
}
@CustomType.Setter
public Builder properties(@Nullable Map properties) {
this.properties = properties;
return this;
}
@CustomType.Setter
public Builder serviceDataAccessAuthIdentity(@Nullable String serviceDataAccessAuthIdentity) {
this.serviceDataAccessAuthIdentity = serviceDataAccessAuthIdentity;
return this;
}
@CustomType.Setter
public Builder storeName(String storeName) {
if (storeName == null) {
throw new MissingRequiredPropertyException("AzureDataLakeGen1DatastoreResponse", "storeName");
}
this.storeName = storeName;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
public AzureDataLakeGen1DatastoreResponse build() {
final var _resultValue = new AzureDataLakeGen1DatastoreResponse();
_resultValue.credentials = credentials;
_resultValue.datastoreType = datastoreType;
_resultValue.description = description;
_resultValue.isDefault = isDefault;
_resultValue.properties = properties;
_resultValue.serviceDataAccessAuthIdentity = serviceDataAccessAuthIdentity;
_resultValue.storeName = storeName;
_resultValue.tags = tags;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy