Class Detector
- java.lang.Object
-
- software.amazon.awssdk.services.ioteventsdata.model.Detector
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Detector.Builder,Detector>
@Generated("software.amazon.awssdk:codegen") public final class Detector extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Detector.Builder,Detector>
Information about the detector (instance).
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDetector.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Detector.Builderbuilder()InstantcreationTime()The time the detector (instance) was created.StringdetectorModelName()The name of the detector model that created this detector (instance).StringdetectorModelVersion()The version of the detector model that created this detector (instance).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkeyValue()The value of the key (identifying the device or system) that caused the creation of this detector (instance).InstantlastUpdateTime()The time the detector (instance) was last updated.List<SdkField<?>>sdkFields()static Class<? extends Detector.Builder>serializableBuilderClass()DetectorStatestate()The current state of the detector (instance).Detector.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
-
detectorModelName
public final String detectorModelName()
The name of the detector model that created this detector (instance).
- Returns:
- The name of the detector model that created this detector (instance).
-
keyValue
public final String keyValue()
The value of the key (identifying the device or system) that caused the creation of this detector (instance).
- Returns:
- The value of the key (identifying the device or system) that caused the creation of this detector (instance).
-
detectorModelVersion
public final String detectorModelVersion()
The version of the detector model that created this detector (instance).
- Returns:
- The version of the detector model that created this detector (instance).
-
state
public final DetectorState state()
The current state of the detector (instance).
- Returns:
- The current state of the detector (instance).
-
creationTime
public final Instant creationTime()
The time the detector (instance) was created.
- Returns:
- The time the detector (instance) was created.
-
lastUpdateTime
public final Instant lastUpdateTime()
The time the detector (instance) was last updated.
- Returns:
- The time the detector (instance) was last updated.
-
toBuilder
public Detector.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Detector.Builder,Detector>
-
builder
public static Detector.Builder builder()
-
serializableBuilderClass
public static Class<? extends Detector.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.
-
-