Collection Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. Collection
- com.
Implements
public final class Collection
implements JsonSerializable<Collection>
The Collection model.
Constructor Summary
| Constructor | Description |
|---|---|
| Collection() |
Creates an instance of Collection class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
clientId()
Get the client |
|
Data |
dataCollectionMode()
Get the data |
| String |
dataId()
Get the data |
| static Collection |
fromJson(JsonReader jsonReader)
Reads an instance of Collection from the Json |
| Double |
samplingRate()
Get the sampling |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Collection |
withClientId(String clientId)
Set the client |
| Collection |
withDataCollectionMode(DataCollectionMode dataCollectionMode)
Set the data |
| Collection |
withDataId(String dataId)
Set the data |
| Collection |
withSamplingRate(Double samplingRate)
Set the sampling |
Methods inherited from java.lang.Object
Constructor Details
Collection
public Collection()
Creates an instance of Collection class.
Method Details
clientId
public String clientId()
Get the clientId property: The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth.
Returns:
dataCollectionMode
public DataCollectionMode dataCollectionMode()
Get the dataCollectionMode property: Enable or disable data collection.
Returns:
dataId
public String dataId()
Get the dataId property: The data asset arm resource id. Client side will ensure data asset is pointing to the blob storage, and backend will collect data to the blob storage.
Returns:
fromJson
public static Collection fromJson(JsonReader jsonReader)
Reads an instance of Collection from the JsonReader.
Parameters:
Returns:
Throws:
samplingRate
public Double samplingRate()
Get the samplingRate property: The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default.
Returns:
toJson
validate
public void validate()
Validates the instance.
withClientId
public Collection withClientId(String clientId)
Set the clientId property: The msi client id used to collect logging to blob storage. If it's null,backend will pick a registered endpoint identity to auth.
Parameters:
Returns:
withDataCollectionMode
public Collection withDataCollectionMode(DataCollectionMode dataCollectionMode)
Set the dataCollectionMode property: Enable or disable data collection.
Parameters:
Returns:
withDataId
public Collection withDataId(String dataId)
Set the dataId property: The data asset arm resource id. Client side will ensure data asset is pointing to the blob storage, and backend will collect data to the blob storage.
Parameters:
Returns:
withSamplingRate
public Collection withSamplingRate(Double samplingRate)
Set the samplingRate property: The sampling rate for collection. Sampling rate 1.0 means we collect 100% of data by default.
Parameters:
Returns: