Class LogsResource.Action

java.lang.Object
org.apache.juneau.bean.LinkString
org.apache.juneau.microservice.examples.LogsResource.Action
All Implemented Interfaces:
Comparable<LinkString>
Enclosing class:
LogsResource

@Response(schema=@Schema(description="File action")) public static class LogsResource.Action extends LinkString
File action link.
  • Constructor Details

    • Action

      public Action(String name, String uri, Object... uriArgs)
      Constructor.
      Parameters:
      name - Action name.
      uri - Action URI.
      uriArgs - URI format arguments.
  • Method Details

    • setName

      Bean property setter: name.

      Corresponds to the text inside of the <A> element.

      Overrides:
      setName in class LinkString
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setUri

      public LogsResource.Action setUri(URI value)
      Bean property setter: uri.

      Corresponds to the value of the href attribute of the <A> element.

      Overrides:
      setUri in class LinkString
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setUri

      Bean property fluent setter: uri.

      Corresponds to the value of the href attribute of the <A> element.

      Overrides:
      setUri in class LinkString
      Parameters:
      value - The new value for this property.
      Must not be null (passed to URI.create(String)).
      Returns:
      This object.
    • setUri

      public LogsResource.Action setUri(String value, Object... args)
      Bean property fluent setter: uri.

      Corresponds to the value of the href attribute of the <A> element.

      Overrides:
      setUri in class LinkString
      Parameters:
      value - The new value for this property.
      Must not be null (passed to URI.create(String)).
      args - Optional printf-style (String.format(String, Object...)) arguments in the URL.
      Returns:
      This object.