Class OperationDisplayInfo


  • public final class OperationDisplayInfo
    extends Object
    The operation supported by Bot Service Management.
    • Constructor Detail

      • OperationDisplayInfo

        public OperationDisplayInfo()
    • Method Detail

      • description

        public String description()
        Get the description property: The description of the operation.
        Returns:
        the description value.
      • withDescription

        public OperationDisplayInfo withDescription​(String description)
        Set the description property: The description of the operation.
        Parameters:
        description - the description value to set.
        Returns:
        the OperationDisplayInfo object itself.
      • operation

        public String operation()
        Get the operation property: The action that users can perform, based on their permission level.
        Returns:
        the operation value.
      • withOperation

        public OperationDisplayInfo withOperation​(String operation)
        Set the operation property: The action that users can perform, based on their permission level.
        Parameters:
        operation - the operation value to set.
        Returns:
        the OperationDisplayInfo object itself.
      • provider

        public String provider()
        Get the provider property: Service provider: Microsoft Bot Service.
        Returns:
        the provider value.
      • withProvider

        public OperationDisplayInfo withProvider​(String provider)
        Set the provider property: Service provider: Microsoft Bot Service.
        Parameters:
        provider - the provider value to set.
        Returns:
        the OperationDisplayInfo object itself.
      • resource

        public String resource()
        Get the resource property: Resource on which the operation is performed.
        Returns:
        the resource value.
      • withResource

        public OperationDisplayInfo withResource​(String resource)
        Set the resource property: Resource on which the operation is performed.
        Parameters:
        resource - the resource value to set.
        Returns:
        the OperationDisplayInfo object itself.
      • validate

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