Partager via


PatchBackupVaultInput Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.PatchBackupVaultInput

Implements

public final class PatchBackupVaultInput
implements JsonSerializable<PatchBackupVaultInput>

Backup Vault Contract for Patch Backup Vault API.

Constructor Summary

Constructor Description
PatchBackupVaultInput()

Creates an instance of PatchBackupVaultInput class.

Method Summary

Modifier and Type Method and Description
FeatureSettings featureSettings()

Get the featureSettings property: Feature Settings.

static PatchBackupVaultInput fromJson(JsonReader jsonReader)

Reads an instance of PatchBackupVaultInput from the JsonReader.

MonitoringSettings monitoringSettings()

Get the monitoringSettings property: Monitoring Settings.

List<String> resourceGuardOperationRequests()

Get the resourceGuardOperationRequests property: ResourceGuardOperationRequests on which LAC check will be performed.

SecuritySettings securitySettings()

Get the securitySettings property: Security Settings.

JsonWriter toJson(JsonWriter jsonWriter)
PatchBackupVaultInput withFeatureSettings(FeatureSettings featureSettings)

Set the featureSettings property: Feature Settings.

PatchBackupVaultInput withMonitoringSettings(MonitoringSettings monitoringSettings)

Set the monitoringSettings property: Monitoring Settings.

PatchBackupVaultInput withResourceGuardOperationRequests(List<String> resourceGuardOperationRequests)

Set the resourceGuardOperationRequests property: ResourceGuardOperationRequests on which LAC check will be performed.

PatchBackupVaultInput withSecuritySettings(SecuritySettings securitySettings)

Set the securitySettings property: Security Settings.

Methods inherited from java.lang.Object

Constructor Details

PatchBackupVaultInput

public PatchBackupVaultInput()

Creates an instance of PatchBackupVaultInput class.

Method Details

featureSettings

public FeatureSettings featureSettings()

Get the featureSettings property: Feature Settings.

Returns:

the featureSettings value.

fromJson

public static PatchBackupVaultInput fromJson(JsonReader jsonReader)

Reads an instance of PatchBackupVaultInput from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PatchBackupVaultInput if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the PatchBackupVaultInput.

monitoringSettings

public MonitoringSettings monitoringSettings()

Get the monitoringSettings property: Monitoring Settings.

Returns:

the monitoringSettings value.

resourceGuardOperationRequests

public List<String> resourceGuardOperationRequests()

Get the resourceGuardOperationRequests property: ResourceGuardOperationRequests on which LAC check will be performed.

Returns:

the resourceGuardOperationRequests value.

securitySettings

public SecuritySettings securitySettings()

Get the securitySettings property: Security Settings.

Returns:

the securitySettings value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withFeatureSettings

public PatchBackupVaultInput withFeatureSettings(FeatureSettings featureSettings)

Set the featureSettings property: Feature Settings.

Parameters:

featureSettings - the featureSettings value to set.

Returns:

the PatchBackupVaultInput object itself.

withMonitoringSettings

public PatchBackupVaultInput withMonitoringSettings(MonitoringSettings monitoringSettings)

Set the monitoringSettings property: Monitoring Settings.

Parameters:

monitoringSettings - the monitoringSettings value to set.

Returns:

the PatchBackupVaultInput object itself.

withResourceGuardOperationRequests

public PatchBackupVaultInput withResourceGuardOperationRequests(List<String> resourceGuardOperationRequests)

Set the resourceGuardOperationRequests property: ResourceGuardOperationRequests on which LAC check will be performed.

Parameters:

resourceGuardOperationRequests - the resourceGuardOperationRequests value to set.

Returns:

the PatchBackupVaultInput object itself.

withSecuritySettings

public PatchBackupVaultInput withSecuritySettings(SecuritySettings securitySettings)

Set the securitySettings property: Security Settings.

Parameters:

securitySettings - the securitySettings value to set.

Returns:

the PatchBackupVaultInput object itself.

Applies to