Class ResourceOperation.Builder

    • Method Detail

      • actionName

        public ResourceOperation.Builder actionName​(String actionName)
        “Type of action this operation is going to perform. The actionName should be concise and limited to as few words as possible.”
        Parameters:
        actionName - value of actionName property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • description

        public ResourceOperation.Builder description​(String description)
        “Description of the resource operation. The description is used in mouse-over text for the operation when shown in the Azure Portal.”
        Parameters:
        description - value of description property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • enabledForScopeValidation

        public ResourceOperation.Builder enabledForScopeValidation​(Boolean enabledForScopeValidation)
        “Determines whether the Permission is validated for Scopes defined per Role Assignment. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        enabledForScopeValidation - value of enabledForScopeValidation property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • resource

        public ResourceOperation.Builder resource​(String resource)
        “Resource category to which this Operation belongs. This property is read-only.”

        Org.OData.Core.V1.Computed

        true

        Org.OData.Core.V1.Permissions

        Parameters:
        resource - value of resource property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • resourceName

        public ResourceOperation.Builder resourceName​(String resourceName)
        “Name of the Resource this operation is performed on.”
        Parameters:
        resourceName - value of resourceName property (as defined in service metadata)
        Returns:
        this (for method chaining)