Class BackupResourceEncryptionConfigResource
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.recoveryservicesbackup.models.BackupResourceEncryptionConfigResource
-
public final class BackupResourceEncryptionConfigResource extends com.azure.core.management.Resource
The BackupResourceEncryptionConfigResource model.
-
-
Constructor Summary
Constructors Constructor Description BackupResourceEncryptionConfigResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
etag()
Get the etag property: Optional ETag.BackupResourceEncryptionConfig
properties()
Get the properties property: BackupResourceEncryptionConfigResource properties.void
validate()
Validates the instance.BackupResourceEncryptionConfigResource
withEtag(String etag)
Set the etag property: Optional ETag.BackupResourceEncryptionConfigResource
withLocation(String location)
BackupResourceEncryptionConfigResource
withProperties(BackupResourceEncryptionConfig properties)
Set the properties property: BackupResourceEncryptionConfigResource properties.BackupResourceEncryptionConfigResource
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
properties
public BackupResourceEncryptionConfig properties()
Get the properties property: BackupResourceEncryptionConfigResource properties.- Returns:
- the properties value.
-
withProperties
public BackupResourceEncryptionConfigResource withProperties(BackupResourceEncryptionConfig properties)
Set the properties property: BackupResourceEncryptionConfigResource properties.- Parameters:
properties
- the properties value to set.- Returns:
- the BackupResourceEncryptionConfigResource object itself.
-
etag
public String etag()
Get the etag property: Optional ETag.- Returns:
- the etag value.
-
withEtag
public BackupResourceEncryptionConfigResource withEtag(String etag)
Set the etag property: Optional ETag.- Parameters:
etag
- the etag value to set.- Returns:
- the BackupResourceEncryptionConfigResource object itself.
-
withLocation
public BackupResourceEncryptionConfigResource withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public BackupResourceEncryptionConfigResource 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.
-
-