Class DppWorkerRequest

java.lang.Object
com.azure.resourcemanager.dataprotection.models.DppWorkerRequest
Direct Known Subclasses:
AzureBackupFindRestorableTimeRangesRequestResource

public class DppWorkerRequest extends Object
The DppWorkerRequest model.
  • Constructor Details

    • DppWorkerRequest

      public DppWorkerRequest()
      Creates an instance of DppWorkerRequest class.
  • Method Details

    • 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.