Class AssetInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.deviceregistry.fluent.models.AssetInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class AssetInner
extends com.azure.core.management.Resource
Asset definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the extendedLocation property: The extended location.Get the properties property: The resource-specific properties for this resource.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.withExtendedLocation
(ExtendedLocation extendedLocation) Set the extendedLocation property: The extended location.withLocation
(String location) withProperties
(AssetProperties properties) Set the properties property: The resource-specific properties for this resource.Methods inherited from class com.azure.core.management.Resource
fromJson, location, tags, toJson
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AssetInner
public AssetInner()Creates an instance of AssetInner class.
-
-
Method Details
-
properties
Get the properties property: The resource-specific properties for this resource.- Returns:
- the properties value.
-
withProperties
Set the properties property: The resource-specific properties for this resource.- Parameters:
properties
- the properties value to set.- Returns:
- the AssetInner object itself.
-
extendedLocation
Get the extendedLocation property: The extended location.- Returns:
- the extendedLocation value.
-
withExtendedLocation
Set the extendedLocation property: The extended location.- Parameters:
extendedLocation
- the extendedLocation value to set.- Returns:
- the AssetInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-