Interface Collector.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Collector.Builder,Collector>, SdkBuilder<Collector.Builder,Collector>, SdkPojo
Enclosing class:
Collector

public static interface Collector.Builder extends SdkPojo, CopyableBuilder<Collector.Builder,Collector>
  • Method Details

    • collectorHealth

      Collector.Builder collectorHealth(String collectorHealth)

      Indicates the health of a collector.

      Parameters:
      collectorHealth - Indicates the health of a collector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • collectorHealth

      Collector.Builder collectorHealth(CollectorHealth collectorHealth)

      Indicates the health of a collector.

      Parameters:
      collectorHealth - Indicates the health of a collector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • collectorId

      Collector.Builder collectorId(String collectorId)

      The ID of the collector.

      Parameters:
      collectorId - The ID of the collector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collectorVersion

      Collector.Builder collectorVersion(String collectorVersion)

      Current version of the collector that is running in the environment that you specify.

      Parameters:
      collectorVersion - Current version of the collector that is running in the environment that you specify.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configurationSummary

      Collector.Builder configurationSummary(ConfigurationSummary configurationSummary)

      Summary of the collector configuration.

      Parameters:
      configurationSummary - Summary of the collector configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configurationSummary

      default Collector.Builder configurationSummary(Consumer<ConfigurationSummary.Builder> configurationSummary)

      Summary of the collector configuration.

      This is a convenience method that creates an instance of the ConfigurationSummary.Builder avoiding the need to create one manually via ConfigurationSummary.builder().

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

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

      Collector.Builder hostName(String hostName)

      Hostname of the server that is hosting the collector.

      Parameters:
      hostName - Hostname of the server that is hosting the collector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddress

      Collector.Builder ipAddress(String ipAddress)

      IP address of the server that is hosting the collector.

      Parameters:
      ipAddress - IP address of the server that is hosting the collector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastActivityTimeStamp

      Collector.Builder lastActivityTimeStamp(String lastActivityTimeStamp)

      Time when the collector last pinged the service.

      Parameters:
      lastActivityTimeStamp - Time when the collector last pinged the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registeredTimeStamp

      Collector.Builder registeredTimeStamp(String registeredTimeStamp)

      Time when the collector registered with the service.

      Parameters:
      registeredTimeStamp - Time when the collector registered with the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.