Class MyWorkbookResource

  • Direct Known Subclasses:
    MyWorkbookInner

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

      • MyWorkbookResource

        public MyWorkbookResource()
    • Method Detail

      • identity

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

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

        public String id()
        Get the id property: Azure resource Id.
        Overrides:
        id in class com.azure.core.management.ProxyResource
        Returns:
        the id value.
      • withId

        public MyWorkbookResource withId​(String id)
        Set the id property: Azure resource Id.
        Parameters:
        id - the id value to set.
        Returns:
        the MyWorkbookResource object itself.
      • name

        public String name()
        Get the name property: Azure resource name.
        Overrides:
        name in class com.azure.core.management.ProxyResource
        Returns:
        the name value.
      • withName

        public MyWorkbookResource withName​(String name)
        Set the name property: Azure resource name.
        Parameters:
        name - the name value to set.
        Returns:
        the MyWorkbookResource object itself.
      • type

        public String type()
        Get the type property: Azure resource type.
        Overrides:
        type in class com.azure.core.management.ProxyResource
        Returns:
        the type value.
      • withType

        public MyWorkbookResource withType​(String type)
        Set the type property: Azure resource type.
        Parameters:
        type - the type value to set.
        Returns:
        the MyWorkbookResource object itself.
      • etag

        public Map<String,​String> etag()
        Get the etag property: Resource etag.
        Returns:
        the etag value.
      • withEtag

        public MyWorkbookResource withEtag​(Map<String,​String> etag)
        Set the etag property: Resource etag.
        Parameters:
        etag - the etag value to set.
        Returns:
        the MyWorkbookResource object itself.
      • withLocation

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