Class ResourceGuardResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.dataprotection.models.DppTrackedResource
com.azure.resourcemanager.dataprotection.fluent.models.ResourceGuardResourceInner
The ResourceGuardResource model.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ResourceGuardResourceInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the properties property: ResourceGuardResource properties.void
validate()
Validates the instance.Set the etag property: Optional ETag.withIdentity
(DppIdentityDetails identity) Set the identity property: DppIdentityDetailswithLocation
(String location) withProperties
(ResourceGuard properties) Set the properties property: ResourceGuardResource properties.Methods inherited from class com.azure.resourcemanager.dataprotection.models.DppTrackedResource
etag, identity, systemData
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
-
ResourceGuardResourceInner
public ResourceGuardResourceInner()Creates an instance of ResourceGuardResourceInner class.
-
-
Method Details
-
properties
Get the properties property: ResourceGuardResource properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: ResourceGuardResource properties.- Parameters:
properties
- the properties value to set.- Returns:
- the ResourceGuardResourceInner object itself.
-
withEtag
Set the etag property: Optional ETag.- Overrides:
withEtag
in classDppTrackedResource
- Parameters:
etag
- the etag value to set.- Returns:
- the DppTrackedResource object itself.
-
withIdentity
Set the identity property: DppIdentityDetailsInput Managed Identity Details.
- Overrides:
withIdentity
in classDppTrackedResource
- Parameters:
identity
- the identity value to set.- Returns:
- the DppTrackedResource object itself.
-
withLocation
- Overrides:
withLocation
in classDppTrackedResource
-
withTags
- Overrides:
withTags
in classDppTrackedResource
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classDppTrackedResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-