DatastoreProperties Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ResourceBase - com.
azure. resourcemanager. machinelearning. models. DatastoreProperties
- com.
- com.
public class DatastoreProperties
extends ResourceBase
Base definition for datastore contents configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| DatastoreProperties() |
Creates an instance of Datastore |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Datastore |
credentials()
Get the credentials property: [Required] Account credentials. |
|
Datastore |
datastoreType()
Get the datastore |
|
static
Datastore |
fromJson(JsonReader jsonReader)
Reads an instance of Datastore |
| Boolean |
isDefault()
Get the is |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Datastore |
withCredentials(DatastoreCredentials credentials)
Set the credentials property: [Required] Account credentials. |
|
Datastore |
withDescription(String description)
Set the description property: The asset description text. |
|
Datastore |
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary. |
|
Datastore |
withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. |
Methods inherited from ResourceBase
Methods inherited from java.lang.Object
Constructor Details
DatastoreProperties
public DatastoreProperties()
Creates an instance of DatastoreProperties class.
Method Details
credentials
public DatastoreCredentials credentials()
Get the credentials property: [Required] Account credentials.
Returns:
datastoreType
public DatastoreType datastoreType()
Get the datastoreType property: [Required] Storage type backing the datastore.
Returns:
fromJson
public static DatastoreProperties fromJson(JsonReader jsonReader)
Reads an instance of DatastoreProperties from the JsonReader.
Parameters:
Returns:
Throws:
isDefault
public Boolean isDefault()
Get the isDefault property: Readonly property to indicate if datastore is the workspace default datastore.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DatastoreProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
DatastoreProperties.validate()withCredentials
public DatastoreProperties withCredentials(DatastoreCredentials credentials)
Set the credentials property: [Required] Account credentials.
Parameters:
Returns:
withDescription
public DatastoreProperties withDescription(String description)
Set the description property: The asset description text.
Overrides:
DatastoreProperties.withDescription(String description)Parameters:
withProperties
public DatastoreProperties withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.
Overrides:
DatastoreProperties.withProperties(Map<String,String> properties)Parameters:
withTags
public DatastoreProperties withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. Tags can be added, removed, and updated.
Overrides:
DatastoreProperties.withTags(Map<String,String> tags)Parameters: