GeoBackupPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. GeoBackupPolicyInner
- com.
- com.
public final class GeoBackupPolicyInner
extends ProxyResource
A Geo backup policy.
Constructor Summary
Constructor | Description |
---|---|
GeoBackupPolicyInner() |
Creates an instance of Geo |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Geo |
fromJson(JsonReader jsonReader)
Reads an instance of Geo |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
kind()
Get the kind property: Kind of geo backup policy. |
String |
location()
Get the location property: Backup policy location. |
String |
name()
Get the name property: The name of the resource. |
Geo |
state()
Get the state property: The state of the geo backup policy. |
String |
storageType()
Get the storage |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Geo |
withState(GeoBackupPolicyState state)
Set the state property: The state of the geo backup policy. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
GeoBackupPolicyInner
public GeoBackupPolicyInner()
Creates an instance of GeoBackupPolicyInner class.
Method Details
fromJson
public static GeoBackupPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of GeoBackupPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
GeoBackupPolicyInner.id()Returns:
kind
public String kind()
Get the kind property: Kind of geo backup policy. This is metadata used for the Azure portal experience.
Returns:
location
public String location()
Get the location property: Backup policy location.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
GeoBackupPolicyInner.name()Returns:
state
public GeoBackupPolicyState state()
Get the state property: The state of the geo backup policy.
Returns:
storageType
public String storageType()
Get the storageType property: The storage type of the geo backup policy.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GeoBackupPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
GeoBackupPolicyInner.type()Returns:
validate
public void validate()
Validates the instance.
withState
public GeoBackupPolicyInner withState(GeoBackupPolicyState state)
Set the state property: The state of the geo backup policy.
Parameters:
Returns:
Applies to
Azure SDK for Java