Class HdfsDatastore
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ResourceBase
-
- com.azure.resourcemanager.machinelearning.models.DatastoreDetails
-
- com.azure.resourcemanager.machinelearning.models.HdfsDatastore
-
public final class HdfsDatastore extends DatastoreDetails
The HdfsDatastore model.
-
-
Constructor Summary
Constructors Constructor Description HdfsDatastore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
hdfsServerCertificate()
Get the hdfsServerCertificate property: The TLS cert of the HDFS server.String
nameNodeAddress()
Get the nameNodeAddress property: [Required] IP Address or DNS HostName.String
protocol()
Get the protocol property: Protocol used to communicate with the storage account (Https/Http).void
validate()
Validates the instance.HdfsDatastore
withCredentials(DatastoreCredentials credentials)
Set the credentials property: [Required] Account credentials.HdfsDatastore
withDescription(String description)
Set the description property: The asset description text.HdfsDatastore
withHdfsServerCertificate(String hdfsServerCertificate)
Set the hdfsServerCertificate property: The TLS cert of the HDFS server.HdfsDatastore
withNameNodeAddress(String nameNodeAddress)
Set the nameNodeAddress property: [Required] IP Address or DNS HostName.HdfsDatastore
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.HdfsDatastore
withProtocol(String protocol)
Set the protocol property: Protocol used to communicate with the storage account (Https/Http).HdfsDatastore
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
-
hdfsServerCertificate
public String hdfsServerCertificate()
Get the hdfsServerCertificate property: The TLS cert of the HDFS server. Needs to be a base64 encoded string. Required if "Https" protocol is selected.- Returns:
- the hdfsServerCertificate value.
-
withHdfsServerCertificate
public HdfsDatastore withHdfsServerCertificate(String hdfsServerCertificate)
Set the hdfsServerCertificate property: The TLS cert of the HDFS server. Needs to be a base64 encoded string. Required if "Https" protocol is selected.- Parameters:
hdfsServerCertificate
- the hdfsServerCertificate value to set.- Returns:
- the HdfsDatastore object itself.
-
nameNodeAddress
public String nameNodeAddress()
Get the nameNodeAddress property: [Required] IP Address or DNS HostName.- Returns:
- the nameNodeAddress value.
-
withNameNodeAddress
public HdfsDatastore withNameNodeAddress(String nameNodeAddress)
Set the nameNodeAddress property: [Required] IP Address or DNS HostName.- Parameters:
nameNodeAddress
- the nameNodeAddress value to set.- Returns:
- the HdfsDatastore object itself.
-
protocol
public String protocol()
Get the protocol property: Protocol used to communicate with the storage account (Https/Http).- Returns:
- the protocol value.
-
withProtocol
public HdfsDatastore withProtocol(String protocol)
Set the protocol property: Protocol used to communicate with the storage account (Https/Http).- Parameters:
protocol
- the protocol value to set.- Returns:
- the HdfsDatastore object itself.
-
withCredentials
public HdfsDatastore 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 HdfsDatastore 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 HdfsDatastore 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 HdfsDatastore 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.
-
-