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