Class ProtectionIntentResourceInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.recoveryservicesbackup.fluent.models.ProtectionIntentResourceInner

public final class ProtectionIntentResourceInner extends com.azure.core.management.Resource
Base class for backup ProtectionIntent.
  • Constructor Details

    • ProtectionIntentResourceInner

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

    • properties

      public ProtectionIntent properties()
      Get the properties property: ProtectionIntentResource properties.
      Returns:
      the properties value.
    • withProperties

      public ProtectionIntentResourceInner withProperties(ProtectionIntent properties)
      Set the properties property: ProtectionIntentResource properties.
      Parameters:
      properties - the properties value to set.
      Returns:
      the ProtectionIntentResourceInner object itself.
    • etag

      public String etag()
      Get the etag property: Optional ETag.
      Returns:
      the etag value.
    • withEtag

      public ProtectionIntentResourceInner withEtag(String etag)
      Set the etag property: Optional ETag.
      Parameters:
      etag - the etag value to set.
      Returns:
      the ProtectionIntentResourceInner object itself.
    • withLocation

      public ProtectionIntentResourceInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      Overrides:
      withTags in class com.azure.core.management.Resource
    • validate

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