Class BackupStatusRequest
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.BackupStatusRequest
-
public final class BackupStatusRequest extends Object
BackupStatus request.
-
-
Constructor Summary
Constructors Constructor Description BackupStatusRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
poLogicalName()
Get the poLogicalName property: Protectable Item Logical Name.String
resourceId()
Get the resourceId property: Entire ARM resource id of the resource.DataSourceType
resourceType()
Get the resourceType property: Container Type - VM, SQLPaaS, DPM, AzureFileShare...void
validate()
Validates the instance.BackupStatusRequest
withPoLogicalName(String poLogicalName)
Set the poLogicalName property: Protectable Item Logical Name.BackupStatusRequest
withResourceId(String resourceId)
Set the resourceId property: Entire ARM resource id of the resource.BackupStatusRequest
withResourceType(DataSourceType resourceType)
Set the resourceType property: Container Type - VM, SQLPaaS, DPM, AzureFileShare...
-
-
-
Method Detail
-
resourceType
public DataSourceType resourceType()
Get the resourceType property: Container Type - VM, SQLPaaS, DPM, AzureFileShare...- Returns:
- the resourceType value.
-
withResourceType
public BackupStatusRequest withResourceType(DataSourceType resourceType)
Set the resourceType property: Container Type - VM, SQLPaaS, DPM, AzureFileShare...- Parameters:
resourceType
- the resourceType value to set.- Returns:
- the BackupStatusRequest object itself.
-
resourceId
public String resourceId()
Get the resourceId property: Entire ARM resource id of the resource.- Returns:
- the resourceId value.
-
withResourceId
public BackupStatusRequest withResourceId(String resourceId)
Set the resourceId property: Entire ARM resource id of the resource.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the BackupStatusRequest object itself.
-
poLogicalName
public String poLogicalName()
Get the poLogicalName property: Protectable Item Logical Name.- Returns:
- the poLogicalName value.
-
withPoLogicalName
public BackupStatusRequest withPoLogicalName(String poLogicalName)
Set the poLogicalName property: Protectable Item Logical Name.- Parameters:
poLogicalName
- the poLogicalName value to set.- Returns:
- the BackupStatusRequest object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-