Class ProtectionContainerResourceInner


  • public final class ProtectionContainerResourceInner
    extends com.azure.core.management.Resource
    Base class for container with backup items. Containers with specific workloads are derived from this class.
    • Constructor Detail

      • ProtectionContainerResourceInner

        public ProtectionContainerResourceInner()
    • Method Detail

      • properties

        public ProtectionContainer properties()
        Get the properties property: ProtectionContainerResource properties.
        Returns:
        the properties value.
      • withProperties

        public ProtectionContainerResourceInner withProperties​(ProtectionContainer properties)
        Set the properties property: ProtectionContainerResource properties.
        Parameters:
        properties - the properties value to set.
        Returns:
        the ProtectionContainerResourceInner object itself.
      • etag

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

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

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