Class InstanceAgentPlugin.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • status

        public InstanceAgentPlugin.Builder status​(InstanceAgentPlugin.Status status)
        The plugin status.

        These are the available statuses: * RUNNING - The plugin is running. * STOPPED - The plugin is stopped. * NOT_SUPPORTED - The plugin is not supported on this platform. * INVALID - The plugin status is not recognizable by the service.

        To determine whether the plugin is enabled, use the getInstance operation in the Core Services API. To enable or disable the plugin, use the updateInstance operation in the Core Services API.

        Parameters:
        status - the value to set
        Returns:
        this builder
      • timeLastUpdatedUtc

        public InstanceAgentPlugin.Builder timeLastUpdatedUtc​(Date timeLastUpdatedUtc)
        The last updated time of the plugin, in UTC.
        Parameters:
        timeLastUpdatedUtc - the value to set
        Returns:
        this builder
      • message

        public InstanceAgentPlugin.Builder message​(String message)
        An optional message from the plugin.
        Parameters:
        message - the value to set
        Returns:
        this builder