Class WorkloadProtectableItemResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.recoveryservicesbackup.fluent.models.WorkloadProtectableItemResourceInner
public final class WorkloadProtectableItemResourceInner
extends com.azure.core.management.Resource
Base class for backup item. Workload-specific backup items are derived from this class.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WorkloadProtectableItemResourceInner class. -
Method Summary
Modifier and TypeMethodDescriptionetag()
Get the etag property: Optional ETag.Get the properties property: WorkloadProtectableItemResource properties.void
validate()
Validates the instance.Set the etag property: Optional ETag.withLocation
(String location) withProperties
(WorkloadProtectableItem properties) Set the properties property: WorkloadProtectableItemResource properties.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
WorkloadProtectableItemResourceInner
public WorkloadProtectableItemResourceInner()Creates an instance of WorkloadProtectableItemResourceInner class.
-
-
Method Details
-
properties
Get the properties property: WorkloadProtectableItemResource properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: WorkloadProtectableItemResource properties.- Parameters:
properties
- the properties value to set.- Returns:
- the WorkloadProtectableItemResourceInner object itself.
-
etag
Get the etag property: Optional ETag.- Returns:
- the etag value.
-
withEtag
Set the etag property: Optional ETag.- Parameters:
etag
- the etag value to set.- Returns:
- the WorkloadProtectableItemResourceInner object itself.
-
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.
-