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