GeoBackupPolicyInner Class

public final class GeoBackupPolicyInner
extends ProxyResource

A Geo backup policy.

Constructor Summary

Constructor Description
GeoBackupPolicyInner()

Creates an instance of GeoBackupPolicyInner class.

Method Summary

Modifier and Type Method and Description
String kind()

Get the kind property: Kind of geo backup policy.

String location()

Get the location property: Backup policy location.

GeoBackupPolicyState state()

Get the state property: The state of the geo backup policy.

String storageType()

Get the storageType property: The storage type of the geo backup policy.

void validate()

Validates the instance.

GeoBackupPolicyInner 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

kind

public String kind()

Get the kind property: Kind of geo backup policy. This is metadata used for the Azure portal experience.

Returns:

the kind value.

location

public String location()

Get the location property: Backup policy location.

Returns:

the location value.

state

public GeoBackupPolicyState state()

Get the state property: The state of the geo backup policy.

Returns:

the state value.

storageType

public String storageType()

Get the storageType property: The storage type of the geo backup policy.

Returns:

the storageType value.

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:

state - the state value to set.

Returns:

the GeoBackupPolicyInner object itself.

Applies to