Class ProtectableContainerResourceInner

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

public final class ProtectableContainerResourceInner extends com.azure.core.management.Resource
Protectable Container Class.
  • Constructor Details

    • ProtectableContainerResourceInner

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

    • properties

      public ProtectableContainer properties()
      Get the properties property: ProtectableContainerResource properties.
      Returns:
      the properties value.
    • withProperties

      public ProtectableContainerResourceInner withProperties(ProtectableContainer properties)
      Set the properties property: ProtectableContainerResource properties.
      Parameters:
      properties - the properties value to set.
      Returns:
      the ProtectableContainerResourceInner object itself.
    • etag

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

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

      public ProtectableContainerResourceInner 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.