Class WorkbookResource

  • Direct Known Subclasses:
    WorkbookInner

    public class WorkbookResource
    extends com.azure.core.management.Resource
    An azure resource object.
    • Constructor Detail

      • WorkbookResource

        public WorkbookResource()
    • Method Detail

      • identity

        public WorkbookResourceIdentity identity()
        Get the identity property: Identity used for BYOS.
        Returns:
        the identity value.
      • withIdentity

        public WorkbookResource withIdentity​(WorkbookResourceIdentity identity)
        Set the identity property: Identity used for BYOS.
        Parameters:
        identity - the identity value to set.
        Returns:
        the WorkbookResource object itself.
      • kind

        public Kind kind()
        Get the kind property: The kind of workbook. Only valid value is shared.
        Returns:
        the kind value.
      • withKind

        public WorkbookResource withKind​(Kind kind)
        Set the kind property: The kind of workbook. Only valid value is shared.
        Parameters:
        kind - the kind value to set.
        Returns:
        the WorkbookResource object itself.
      • etag

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

        public WorkbookResource withEtag​(String etag)
        Set the etag property: Resource etag.
        Parameters:
        etag - the etag value to set.
        Returns:
        the WorkbookResource object itself.
      • withLocation

        public WorkbookResource withLocation​(String location)
        Overrides:
        withLocation in class com.azure.core.management.Resource
      • validate

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