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