Class GenericContainer
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionContainer
-
- com.azure.resourcemanager.recoveryservicesbackup.models.GenericContainer
-
public final class GenericContainer extends ProtectionContainer
Base class for generic container of backup items.
-
-
Constructor Summary
Constructors Constructor Description GenericContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericContainerExtendedInfo
extendedInformation()
Get the extendedInformation property: Extended information (not returned in List container API calls).String
fabricName()
Get the fabricName property: Name of the container's fabric.void
validate()
Validates the instance.GenericContainer
withBackupManagementType(BackupManagementType backupManagementType)
Set the backupManagementType property: Type of backup management for the container.GenericContainer
withExtendedInformation(GenericContainerExtendedInfo extendedInformation)
Set the extendedInformation property: Extended information (not returned in List container API calls).GenericContainer
withFabricName(String fabricName)
Set the fabricName property: Name of the container's fabric.GenericContainer
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the container.GenericContainer
withHealthStatus(String healthStatus)
Set the healthStatus property: Status of health of the container.GenericContainer
withProtectableObjectType(String protectableObjectType)
Set the protectableObjectType property: Type of the protectable object associated with this container.GenericContainer
withRegistrationStatus(String registrationStatus)
Set the registrationStatus property: Status of registration of the container with the Recovery Services Vault.-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionContainer
backupManagementType, friendlyName, healthStatus, protectableObjectType, registrationStatus
-
-
-
-
Method Detail
-
fabricName
public String fabricName()
Get the fabricName property: Name of the container's fabric.- Returns:
- the fabricName value.
-
withFabricName
public GenericContainer withFabricName(String fabricName)
Set the fabricName property: Name of the container's fabric.- Parameters:
fabricName
- the fabricName value to set.- Returns:
- the GenericContainer object itself.
-
extendedInformation
public GenericContainerExtendedInfo extendedInformation()
Get the extendedInformation property: Extended information (not returned in List container API calls).- Returns:
- the extendedInformation value.
-
withExtendedInformation
public GenericContainer withExtendedInformation(GenericContainerExtendedInfo extendedInformation)
Set the extendedInformation property: Extended information (not returned in List container API calls).- Parameters:
extendedInformation
- the extendedInformation value to set.- Returns:
- the GenericContainer object itself.
-
withFriendlyName
public GenericContainer withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the container.- Overrides:
withFriendlyName
in classProtectionContainer
- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the ProtectionContainer object itself.
-
withBackupManagementType
public GenericContainer withBackupManagementType(BackupManagementType backupManagementType)
Set the backupManagementType property: Type of backup management for the container.- Overrides:
withBackupManagementType
in classProtectionContainer
- Parameters:
backupManagementType
- the backupManagementType value to set.- Returns:
- the ProtectionContainer object itself.
-
withRegistrationStatus
public GenericContainer withRegistrationStatus(String registrationStatus)
Set the registrationStatus property: Status of registration of the container with the Recovery Services Vault.- Overrides:
withRegistrationStatus
in classProtectionContainer
- Parameters:
registrationStatus
- the registrationStatus value to set.- Returns:
- the ProtectionContainer object itself.
-
withHealthStatus
public GenericContainer withHealthStatus(String healthStatus)
Set the healthStatus property: Status of health of the container.- Overrides:
withHealthStatus
in classProtectionContainer
- Parameters:
healthStatus
- the healthStatus value to set.- Returns:
- the ProtectionContainer object itself.
-
withProtectableObjectType
public GenericContainer withProtectableObjectType(String protectableObjectType)
Set the protectableObjectType property: Type of the protectable object associated with this container.- Overrides:
withProtectableObjectType
in classProtectionContainer
- Parameters:
protectableObjectType
- the protectableObjectType value to set.- Returns:
- the ProtectionContainer object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classProtectionContainer
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-