Class SignalInformation
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SignalInformation.Builder,SignalInformation>
Information about a signal.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SignalInformation.Builderbuilder()final StringThe ID of the data partition this signal is associated with.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final LongThe maximum number of samples to collect.final LongThe minimum duration of time (in milliseconds) between two triggering events to collect data.final Stringname()The name of the signal.static Class<? extends SignalInformation.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
-
maxSampleCount
The maximum number of samples to collect.
- Returns:
- The maximum number of samples to collect.
-
minimumSamplingIntervalMs
The minimum duration of time (in milliseconds) between two triggering events to collect data.
If a signal changes often, you might want to collect data at a slower rate.
- Returns:
- The minimum duration of time (in milliseconds) between two triggering events to collect data.
If a signal changes often, you might want to collect data at a slower rate.
-
dataPartitionId
The ID of the data partition this signal is associated with.
The ID must match one of the IDs provided in
dataPartitions. This is accomplished either by specifying a particular data partition ID or by usingdefaultfor an established default partition. You can establish a default partition in theDataPartitiondata type.If you upload a signal as a condition for a campaign's data partition, the same signal must be included in
signalsToCollect.Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see Amazon Web Services Region and feature availability in the Amazon Web Services IoT FleetWise Developer Guide.
- Returns:
- The ID of the data partition this signal is associated with.
The ID must match one of the IDs provided in
dataPartitions. This is accomplished either by specifying a particular data partition ID or by usingdefaultfor an established default partition. You can establish a default partition in theDataPartitiondata type.If you upload a signal as a condition for a campaign's data partition, the same signal must be included in
signalsToCollect.Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see Amazon Web Services Region and feature availability in the Amazon Web Services IoT FleetWise Developer Guide.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SignalInformation.Builder,SignalInformation> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-