Class ResourceCapabilitiesBase

java.lang.Object
com.azure.resourcemanager.recoveryservices.models.ResourceCapabilitiesBase
Direct Known Subclasses:
CapabilitiesResponseInner, ResourceCapabilities

public class ResourceCapabilitiesBase extends Object
Base class for request and response capabilities information for Microsoft.RecoveryServices.
  • Constructor Details

    • ResourceCapabilitiesBase

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

    • type

      public String type()
      Get the type property: Describes the Resource type: Microsoft.RecoveryServices/Vaults.
      Returns:
      the type value.
    • withType

      public ResourceCapabilitiesBase withType(String type)
      Set the type property: Describes the Resource type: Microsoft.RecoveryServices/Vaults.
      Parameters:
      type - the type value to set.
      Returns:
      the ResourceCapabilitiesBase object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.