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 Summary
Modifier and TypeMethodDescriptioncollectorHealth
(String collectorHealth) Indicates the health of a collector.collectorHealth
(CollectorHealth collectorHealth) Indicates the health of a collector.collectorId
(String collectorId) The ID of the collector.collectorVersion
(String collectorVersion) Current version of the collector that is running in the environment that you specify.default Collector.Builder
configurationSummary
(Consumer<ConfigurationSummary.Builder> configurationSummary) Summary of the collector configuration.configurationSummary
(ConfigurationSummary configurationSummary) Summary of the collector configuration.Hostname of the server that is hosting the collector.IP address of the server that is hosting the collector.lastActivityTimeStamp
(String lastActivityTimeStamp) Time when the collector last pinged the service.registeredTimeStamp
(String registeredTimeStamp) Time when the collector registered with the service.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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 theConfigurationSummary.Builder
avoiding the need to create one manually viaConfigurationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigurationSummary(ConfigurationSummary)
.- Parameters:
configurationSummary
- a consumer that will call methods onConfigurationSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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.
-