Class ActivityClientOptions

java.lang.Object
io.temporal.client.ActivityClientOptions

@Experimental public final class ActivityClientOptions extends Object
Options for ActivityClient configuration.
  • Method Details

    • newBuilder

      public static ActivityClientOptions.Builder newBuilder()
    • newBuilder

      public static ActivityClientOptions.Builder newBuilder(ActivityClientOptions options)
    • getDefaultInstance

      public static ActivityClientOptions getDefaultInstance()
    • toBuilder

      public ActivityClientOptions.Builder toBuilder()
    • getNamespace

      public String getNamespace()
      Get the namespace this client will operate on.
      Returns:
      Client namespace
    • getDataConverter

      public DataConverter getDataConverter()
      Get the data converters of this client.
      Returns:
      The data converter to use with the client.
    • getIdentity

      public String getIdentity()
      Get the human-readable identity of the client.
      Returns:
      The identity of the client used on some requests.
    • getContextPropagators

      public List<ContextPropagator> getContextPropagators()
      Get the context propagators of this client.
      Returns:
      The list of context propagators to use with the client.
    • getInterceptors

      public List<ActivityClientInterceptor> getInterceptors()
      Get the interceptors of this client.
      Returns:
      The list of interceptors to use with the client.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object