Class AzureDataLakeGen2Datastore
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ResourceBase
-
- com.azure.resourcemanager.machinelearning.models.DatastoreDetails
-
- com.azure.resourcemanager.machinelearning.models.AzureDataLakeGen2Datastore
-
public final class AzureDataLakeGen2Datastore extends DatastoreDetails
Azure Data Lake Gen2 datastore configuration.
-
-
Constructor Summary
Constructors Constructor Description AzureDataLakeGen2Datastore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
accountName()
Get the accountName property: [Required] Storage account name.String
endpoint()
Get the endpoint property: Azure cloud endpoint for the storage account.String
filesystem()
Get the filesystem property: [Required] The name of the Data Lake Gen2 filesystem.String
protocol()
Get the protocol property: Protocol used to communicate with the storage account.ServiceDataAccessAuthIdentity
serviceDataAccessAuthIdentity()
Get the serviceDataAccessAuthIdentity property: Indicates which identity to use to authenticate service data access to customer's storage.void
validate()
Validates the instance.AzureDataLakeGen2Datastore
withAccountName(String accountName)
Set the accountName property: [Required] Storage account name.AzureDataLakeGen2Datastore
withCredentials(DatastoreCredentials credentials)
Set the credentials property: [Required] Account credentials.AzureDataLakeGen2Datastore
withDescription(String description)
Set the description property: The asset description text.AzureDataLakeGen2Datastore
withEndpoint(String endpoint)
Set the endpoint property: Azure cloud endpoint for the storage account.AzureDataLakeGen2Datastore
withFilesystem(String filesystem)
Set the filesystem property: [Required] The name of the Data Lake Gen2 filesystem.AzureDataLakeGen2Datastore
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.AzureDataLakeGen2Datastore
withProtocol(String protocol)
Set the protocol property: Protocol used to communicate with the storage account.AzureDataLakeGen2Datastore
withServiceDataAccessAuthIdentity(ServiceDataAccessAuthIdentity serviceDataAccessAuthIdentity)
Set the serviceDataAccessAuthIdentity property: Indicates which identity to use to authenticate service data access to customer's storage.AzureDataLakeGen2Datastore
withTags(Map<String,String> tags)
Set the tags property: Tag dictionary.-
Methods inherited from class com.azure.resourcemanager.machinelearning.models.DatastoreDetails
credentials, isDefault
-
Methods inherited from class com.azure.resourcemanager.machinelearning.models.ResourceBase
description, properties, tags
-
-
-
-
Method Detail
-
accountName
public String accountName()
Get the accountName property: [Required] Storage account name.- Returns:
- the accountName value.
-
withAccountName
public AzureDataLakeGen2Datastore withAccountName(String accountName)
Set the accountName property: [Required] Storage account name.- Parameters:
accountName
- the accountName value to set.- Returns:
- the AzureDataLakeGen2Datastore object itself.
-
endpoint
public String endpoint()
Get the endpoint property: Azure cloud endpoint for the storage account.- Returns:
- the endpoint value.
-
withEndpoint
public AzureDataLakeGen2Datastore withEndpoint(String endpoint)
Set the endpoint property: Azure cloud endpoint for the storage account.- Parameters:
endpoint
- the endpoint value to set.- Returns:
- the AzureDataLakeGen2Datastore object itself.
-
filesystem
public String filesystem()
Get the filesystem property: [Required] The name of the Data Lake Gen2 filesystem.- Returns:
- the filesystem value.
-
withFilesystem
public AzureDataLakeGen2Datastore withFilesystem(String filesystem)
Set the filesystem property: [Required] The name of the Data Lake Gen2 filesystem.- Parameters:
filesystem
- the filesystem value to set.- Returns:
- the AzureDataLakeGen2Datastore object itself.
-
protocol
public String protocol()
Get the protocol property: Protocol used to communicate with the storage account.- Returns:
- the protocol value.
-
withProtocol
public AzureDataLakeGen2Datastore withProtocol(String protocol)
Set the protocol property: Protocol used to communicate with the storage account.- Parameters:
protocol
- the protocol value to set.- Returns:
- the AzureDataLakeGen2Datastore object itself.
-
serviceDataAccessAuthIdentity
public ServiceDataAccessAuthIdentity serviceDataAccessAuthIdentity()
Get the serviceDataAccessAuthIdentity property: Indicates which identity to use to authenticate service data access to customer's storage.- Returns:
- the serviceDataAccessAuthIdentity value.
-
withServiceDataAccessAuthIdentity
public AzureDataLakeGen2Datastore withServiceDataAccessAuthIdentity(ServiceDataAccessAuthIdentity serviceDataAccessAuthIdentity)
Set the serviceDataAccessAuthIdentity property: Indicates which identity to use to authenticate service data access to customer's storage.- Parameters:
serviceDataAccessAuthIdentity
- the serviceDataAccessAuthIdentity value to set.- Returns:
- the AzureDataLakeGen2Datastore object itself.
-
withCredentials
public AzureDataLakeGen2Datastore withCredentials(DatastoreCredentials credentials)
Set the credentials property: [Required] Account credentials.- Overrides:
withCredentials
in classDatastoreDetails
- Parameters:
credentials
- the credentials value to set.- Returns:
- the DatastoreDetails object itself.
-
withDescription
public AzureDataLakeGen2Datastore withDescription(String description)
Set the description property: The asset description text.- Overrides:
withDescription
in classDatastoreDetails
- Parameters:
description
- the description value to set.- Returns:
- the ResourceBase object itself.
-
withProperties
public AzureDataLakeGen2Datastore withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.- Overrides:
withProperties
in classDatastoreDetails
- Parameters:
properties
- the properties value to set.- Returns:
- the ResourceBase object itself.
-
withTags
public AzureDataLakeGen2Datastore withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. Tags can be added, removed, and updated.- Overrides:
withTags
in classDatastoreDetails
- Parameters:
tags
- the tags value to set.- Returns:
- the ResourceBase object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDatastoreDetails
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-