ResourceGuardResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. dataprotection. fluent. models. ResourceGuardResourceInner
- com.
- com.
- com.
public final class ResourceGuardResourceInner
extends Resource
Concrete tracked resource types can be created by aliasing this type using a specific property type.
Constructor Summary
| Constructor | Description |
|---|---|
| ResourceGuardResourceInner() |
Creates an instance of Resource |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: Optional ETag. |
|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Resource |
properties()
Get the properties property: Resource |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
Resource |
withEtag(String etag)
Set the etag property: Optional ETag. |
|
Resource |
withLocation(String location) |
|
Resource |
withProperties(ResourceGuard properties)
Set the properties property: Resource |
|
Resource |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ResourceGuardResourceInner
public ResourceGuardResourceInner()
Creates an instance of ResourceGuardResourceInner class.
Method Details
etag
public String etag()
Get the etag property: Optional ETag.
Returns:
fromJson
public static ResourceGuardResourceInner fromJson(JsonReader jsonReader)
Reads an instance of ResourceGuardResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ResourceGuardResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ResourceGuardResourceInner.name()Returns:
properties
public ResourceGuard properties()
Get the properties property: ResourceGuardResource properties.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ResourceGuardResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ResourceGuardResourceInner.type()Returns:
withEtag
public ResourceGuardResourceInner withEtag(String etag)
Set the etag property: Optional ETag.
Parameters:
Returns:
withLocation
public ResourceGuardResourceInner withLocation(String location)
Overrides:
ResourceGuardResourceInner.withLocation(String location)Parameters:
withProperties
public ResourceGuardResourceInner withProperties(ResourceGuard properties)
Set the properties property: ResourceGuardResource properties.
Parameters:
Returns:
withTags
public ResourceGuardResourceInner withTags(Map<String,String> tags)
Overrides:
ResourceGuardResourceInner.withTags(Map<String,String> tags)Parameters: