Class IdAssetReference
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.AssetReferenceBase
-
- com.azure.resourcemanager.machinelearning.models.IdAssetReference
-
public final class IdAssetReference extends AssetReferenceBase
Reference to an asset via its ARM resource ID.
-
-
Constructor Summary
Constructors Constructor Description IdAssetReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
assetId()
Get the assetId property: [Required] ARM resource ID of the asset.void
validate()
Validates the instance.IdAssetReference
withAssetId(String assetId)
Set the assetId property: [Required] ARM resource ID of the asset.
-
-
-
Method Detail
-
assetId
public String assetId()
Get the assetId property: [Required] ARM resource ID of the asset.- Returns:
- the assetId value.
-
withAssetId
public IdAssetReference withAssetId(String assetId)
Set the assetId property: [Required] ARM resource ID of the asset.- Parameters:
assetId
- the assetId value to set.- Returns:
- the IdAssetReference object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAssetReferenceBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-