Class ResourceGuardProxyBaseResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.recoveryservicesbackup.fluent.models.ResourceGuardProxyBaseResourceInner
-
public final class ResourceGuardProxyBaseResourceInner extends com.azure.core.management.Resource
The ResourceGuardProxyBaseResource model.
-
-
Constructor Summary
Constructors Constructor Description ResourceGuardProxyBaseResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
etag()
Get the etag property: Optional ETag.ResourceGuardProxyBase
properties()
Get the properties property: ResourceGuardProxyBaseResource properties.void
validate()
Validates the instance.ResourceGuardProxyBaseResourceInner
withEtag(String etag)
Set the etag property: Optional ETag.ResourceGuardProxyBaseResourceInner
withLocation(String location)
ResourceGuardProxyBaseResourceInner
withProperties(ResourceGuardProxyBase properties)
Set the properties property: ResourceGuardProxyBaseResource properties.ResourceGuardProxyBaseResourceInner
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
properties
public ResourceGuardProxyBase properties()
Get the properties property: ResourceGuardProxyBaseResource properties.- Returns:
- the properties value.
-
withProperties
public ResourceGuardProxyBaseResourceInner withProperties(ResourceGuardProxyBase properties)
Set the properties property: ResourceGuardProxyBaseResource properties.- Parameters:
properties
- the properties value to set.- Returns:
- the ResourceGuardProxyBaseResourceInner object itself.
-
etag
public String etag()
Get the etag property: Optional ETag.- Returns:
- the etag value.
-
withEtag
public ResourceGuardProxyBaseResourceInner withEtag(String etag)
Set the etag property: Optional ETag.- Parameters:
etag
- the etag value to set.- Returns:
- the ResourceGuardProxyBaseResourceInner object itself.
-
withLocation
public ResourceGuardProxyBaseResourceInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public ResourceGuardProxyBaseResourceInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-