Class AzureBackupFindRestorableTimeRangesRequestResource
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.DppWorkerRequest
-
- com.azure.resourcemanager.dataprotection.models.AzureBackupFindRestorableTimeRangesRequestResource
-
public final class AzureBackupFindRestorableTimeRangesRequestResource extends DppWorkerRequest
List Restore Ranges Request.
-
-
Constructor Summary
Constructors Constructor Description AzureBackupFindRestorableTimeRangesRequestResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureBackupFindRestorableTimeRangesRequest
content()
Get the content property: AzureBackupFindRestorableTimeRangesRequestResource content.void
validate()
Validates the instance.AzureBackupFindRestorableTimeRangesRequestResource
withContent(AzureBackupFindRestorableTimeRangesRequest content)
Set the content property: AzureBackupFindRestorableTimeRangesRequestResource content.AzureBackupFindRestorableTimeRangesRequestResource
withCultureInfo(String cultureInfo)
Set the cultureInfo property: The cultureInfo property.AzureBackupFindRestorableTimeRangesRequestResource
withHeaders(Map<String,List<String>> headers)
Set the headers property: Dictionary of <components·ikn5y4·schemas·dppworkerrequest·properties·headers·additionalproperties>.AzureBackupFindRestorableTimeRangesRequestResource
withHttpMethod(String httpMethod)
Set the httpMethod property: The httpMethod property.AzureBackupFindRestorableTimeRangesRequestResource
withParameters(Map<String,String> parameters)
Set the parameters property: Dictionary of <string>.AzureBackupFindRestorableTimeRangesRequestResource
withSubscriptionId(String subscriptionId)
Set the subscriptionId property: The subscriptionId property.AzureBackupFindRestorableTimeRangesRequestResource
withSupportedGroupVersions(List<String> supportedGroupVersions)
Set the supportedGroupVersions property: The supportedGroupVersions property.AzureBackupFindRestorableTimeRangesRequestResource
withUri(String uri)
Set the uri property: The uri property.-
Methods inherited from class com.azure.resourcemanager.dataprotection.models.DppWorkerRequest
cultureInfo, headers, httpMethod, parameters, subscriptionId, supportedGroupVersions, uri
-
-
-
-
Method Detail
-
content
public AzureBackupFindRestorableTimeRangesRequest content()
Get the content property: AzureBackupFindRestorableTimeRangesRequestResource content.- Returns:
- the content value.
-
withContent
public AzureBackupFindRestorableTimeRangesRequestResource withContent(AzureBackupFindRestorableTimeRangesRequest content)
Set the content property: AzureBackupFindRestorableTimeRangesRequestResource content.- Parameters:
content
- the content value to set.- Returns:
- the AzureBackupFindRestorableTimeRangesRequestResource object itself.
-
withSubscriptionId
public AzureBackupFindRestorableTimeRangesRequestResource withSubscriptionId(String subscriptionId)
Set the subscriptionId property: The subscriptionId property.- Overrides:
withSubscriptionId
in classDppWorkerRequest
- Parameters:
subscriptionId
- the subscriptionId value to set.- Returns:
- the DppWorkerRequest object itself.
-
withUri
public AzureBackupFindRestorableTimeRangesRequestResource withUri(String uri)
Set the uri property: The uri property.- Overrides:
withUri
in classDppWorkerRequest
- Parameters:
uri
- the uri value to set.- Returns:
- the DppWorkerRequest object itself.
-
withHeaders
public AzureBackupFindRestorableTimeRangesRequestResource withHeaders(Map<String,List<String>> headers)
Set the headers property: Dictionary of <components·ikn5y4·schemas·dppworkerrequest·properties·headers·additionalproperties>.- Overrides:
withHeaders
in classDppWorkerRequest
- Parameters:
headers
- the headers value to set.- Returns:
- the DppWorkerRequest object itself.
-
withSupportedGroupVersions
public AzureBackupFindRestorableTimeRangesRequestResource withSupportedGroupVersions(List<String> supportedGroupVersions)
Set the supportedGroupVersions property: The supportedGroupVersions property.- Overrides:
withSupportedGroupVersions
in classDppWorkerRequest
- Parameters:
supportedGroupVersions
- the supportedGroupVersions value to set.- Returns:
- the DppWorkerRequest object itself.
-
withCultureInfo
public AzureBackupFindRestorableTimeRangesRequestResource withCultureInfo(String cultureInfo)
Set the cultureInfo property: The cultureInfo property.- Overrides:
withCultureInfo
in classDppWorkerRequest
- Parameters:
cultureInfo
- the cultureInfo value to set.- Returns:
- the DppWorkerRequest object itself.
-
withParameters
public AzureBackupFindRestorableTimeRangesRequestResource withParameters(Map<String,String> parameters)
Set the parameters property: Dictionary of <string>.- Overrides:
withParameters
in classDppWorkerRequest
- Parameters:
parameters
- the parameters value to set.- Returns:
- the DppWorkerRequest object itself.
-
withHttpMethod
public AzureBackupFindRestorableTimeRangesRequestResource withHttpMethod(String httpMethod)
Set the httpMethod property: The httpMethod property.- Overrides:
withHttpMethod
in classDppWorkerRequest
- Parameters:
httpMethod
- the httpMethod value to set.- Returns:
- the DppWorkerRequest object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDppWorkerRequest
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-