Interface PreviewConfig.Builder

  • Method Details

    • bandwidthAllocation

      PreviewConfig.Builder bandwidthAllocation(Double bandwidthAllocation)
      Sets the value of the BandwidthAllocation property for this object.
      Parameters:
      bandwidthAllocation - The new value for the BandwidthAllocation property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeoutConfig

      PreviewConfig.Builder timeoutConfig(TimeoutConfig timeoutConfig)
      Sets the value of the TimeoutConfig property for this object.
      Parameters:
      timeoutConfig - The new value for the TimeoutConfig property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeoutConfig

      default PreviewConfig.Builder timeoutConfig(Consumer<TimeoutConfig.Builder> timeoutConfig)
      Sets the value of the TimeoutConfig property for this object. This is a convenience method that creates an instance of the TimeoutConfig.Builder avoiding the need to create one manually via TimeoutConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to timeoutConfig(TimeoutConfig).

      Parameters:
      timeoutConfig - a consumer that will call methods on TimeoutConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • agentActionsWithStrings

      PreviewConfig.Builder agentActionsWithStrings(Collection<String> agentActions)
      Sets the value of the AgentActions property for this object.
      Parameters:
      agentActions - The new value for the AgentActions property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentActionsWithStrings

      PreviewConfig.Builder agentActionsWithStrings(String... agentActions)
      Sets the value of the AgentActions property for this object.
      Parameters:
      agentActions - The new value for the AgentActions property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentActions

      PreviewConfig.Builder agentActions(Collection<AgentAction> agentActions)
      Sets the value of the AgentActions property for this object.
      Parameters:
      agentActions - The new value for the AgentActions property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentActions

      PreviewConfig.Builder agentActions(AgentAction... agentActions)
      Sets the value of the AgentActions property for this object.
      Parameters:
      agentActions - The new value for the AgentActions property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.