Class Collector
- java.lang.Object
-
- software.amazon.awssdk.services.migrationhubstrategy.model.Collector
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Collector.Builder,Collector>
@Generated("software.amazon.awssdk:codegen") public final class Collector extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Collector.Builder,Collector>
Process data collector that runs in the environment that you specify.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCollector.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Collector.Builderbuilder()CollectorHealthcollectorHealth()Indicates the health of a collector.StringcollectorHealthAsString()Indicates the health of a collector.StringcollectorId()The ID of the collector.StringcollectorVersion()Current version of the collector that is running in the environment that you specify.ConfigurationSummaryconfigurationSummary()Summary of the collector configuration.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhostName()Hostname of the server that is hosting the collector.StringipAddress()IP address of the server that is hosting the collector.StringlastActivityTimeStamp()Time when the collector last pinged the service.StringregisteredTimeStamp()Time when the collector registered with the service.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Collector.Builder>serializableBuilderClass()Collector.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
collectorHealth
public final CollectorHealth collectorHealth()
Indicates the health of a collector.
If the service returns an enum value that is not available in the current SDK version,
collectorHealthwill returnCollectorHealth.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcollectorHealthAsString().- Returns:
- Indicates the health of a collector.
- See Also:
CollectorHealth
-
collectorHealthAsString
public final String collectorHealthAsString()
Indicates the health of a collector.
If the service returns an enum value that is not available in the current SDK version,
collectorHealthwill returnCollectorHealth.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcollectorHealthAsString().- Returns:
- Indicates the health of a collector.
- See Also:
CollectorHealth
-
collectorId
public final String collectorId()
The ID of the collector.
- Returns:
- The ID of the collector.
-
collectorVersion
public final String collectorVersion()
Current version of the collector that is running in the environment that you specify.
- Returns:
- Current version of the collector that is running in the environment that you specify.
-
configurationSummary
public final ConfigurationSummary configurationSummary()
Summary of the collector configuration.
- Returns:
- Summary of the collector configuration.
-
hostName
public final String hostName()
Hostname of the server that is hosting the collector.
- Returns:
- Hostname of the server that is hosting the collector.
-
ipAddress
public final String ipAddress()
IP address of the server that is hosting the collector.
- Returns:
- IP address of the server that is hosting the collector.
-
lastActivityTimeStamp
public final String lastActivityTimeStamp()
Time when the collector last pinged the service.
- Returns:
- Time when the collector last pinged the service.
-
registeredTimeStamp
public final String registeredTimeStamp()
Time when the collector registered with the service.
- Returns:
- Time when the collector registered with the service.
-
toBuilder
public Collector.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Collector.Builder,Collector>
-
builder
public static Collector.Builder builder()
-
serializableBuilderClass
public static Class<? extends Collector.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-