IdAssetReference Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. AssetReferenceBase - com.
azure. resourcemanager. machinelearning. models. IdAssetReference
- com.
- com.
public final class IdAssetReference
extends AssetReferenceBase
Reference to an asset via its ARM resource ID.
Constructor Summary
| Constructor | Description |
|---|---|
| IdAssetReference() |
Creates an instance of Id |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
assetId()
Get the asset |
|
static
Id |
fromJson(JsonReader jsonReader)
Reads an instance of Id |
|
Reference |
referenceType()
Get the reference |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Id |
withAssetId(String assetId)
Set the asset |
Methods inherited from AssetReferenceBase
Methods inherited from java.lang.Object
Constructor Details
IdAssetReference
public IdAssetReference()
Creates an instance of IdAssetReference class.
Method Details
assetId
public String assetId()
Get the assetId property: [Required] ARM resource ID of the asset.
Returns:
fromJson
public static IdAssetReference fromJson(JsonReader jsonReader)
Reads an instance of IdAssetReference from the JsonReader.
Parameters:
Returns:
Throws:
referenceType
public ReferenceType referenceType()
Get the referenceType property: [Required] Specifies the type of asset reference.
Overrides:
IdAssetReference.referenceType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
IdAssetReference.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
IdAssetReference.validate()withAssetId
public IdAssetReference withAssetId(String assetId)
Set the assetId property: [Required] ARM resource ID of the asset.
Parameters:
Returns: