Class SignalFetchConfig
- java.lang.Object
-
- software.amazon.awssdk.services.iotfleetwise.model.SignalFetchConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SignalFetchConfig.Builder,SignalFetchConfig>
@Generated("software.amazon.awssdk:codegen") public final class SignalFetchConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SignalFetchConfig.Builder,SignalFetchConfig>
The configuration of the signal fetch operation.
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSignalFetchConfig.Builderstatic classSignalFetchConfig.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SignalFetchConfig.Builderbuilder()ConditionBasedSignalFetchConfigconditionBased()The configuration of a condition-based signal fetch operation.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static SignalFetchConfigfromConditionBased(Consumer<ConditionBasedSignalFetchConfig.Builder> conditionBased)Create an instance of this class withconditionBased()initialized to the given value.static SignalFetchConfigfromConditionBased(ConditionBasedSignalFetchConfig conditionBased)Create an instance of this class withconditionBased()initialized to the given value.static SignalFetchConfigfromTimeBased(Consumer<TimeBasedSignalFetchConfig.Builder> timeBased)Create an instance of this class withtimeBased()initialized to the given value.static SignalFetchConfigfromTimeBased(TimeBasedSignalFetchConfig timeBased)Create an instance of this class withtimeBased()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SignalFetchConfig.Builder>serializableBuilderClass()TimeBasedSignalFetchConfigtimeBased()The configuration of a time-based signal fetch operation.SignalFetchConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.SignalFetchConfig.Typetype()Retrieve an enum value representing which member of this object is populated.-
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
-
timeBased
public final TimeBasedSignalFetchConfig timeBased()
The configuration of a time-based signal fetch operation.
- Returns:
- The configuration of a time-based signal fetch operation.
-
conditionBased
public final ConditionBasedSignalFetchConfig conditionBased()
The configuration of a condition-based signal fetch operation.
- Returns:
- The configuration of a condition-based signal fetch operation.
-
toBuilder
public SignalFetchConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SignalFetchConfig.Builder,SignalFetchConfig>
-
builder
public static SignalFetchConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends SignalFetchConfig.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.
-
fromTimeBased
public static SignalFetchConfig fromTimeBased(TimeBasedSignalFetchConfig timeBased)
Create an instance of this class withtimeBased()initialized to the given value.The configuration of a time-based signal fetch operation.
- Parameters:
timeBased- The configuration of a time-based signal fetch operation.
-
fromTimeBased
public static SignalFetchConfig fromTimeBased(Consumer<TimeBasedSignalFetchConfig.Builder> timeBased)
Create an instance of this class withtimeBased()initialized to the given value.The configuration of a time-based signal fetch operation.
- Parameters:
timeBased- The configuration of a time-based signal fetch operation.
-
fromConditionBased
public static SignalFetchConfig fromConditionBased(ConditionBasedSignalFetchConfig conditionBased)
Create an instance of this class withconditionBased()initialized to the given value.The configuration of a condition-based signal fetch operation.
- Parameters:
conditionBased- The configuration of a condition-based signal fetch operation.
-
fromConditionBased
public static SignalFetchConfig fromConditionBased(Consumer<ConditionBasedSignalFetchConfig.Builder> conditionBased)
Create an instance of this class withconditionBased()initialized to the given value.The configuration of a condition-based signal fetch operation.
- Parameters:
conditionBased- The configuration of a condition-based signal fetch operation.
-
type
public SignalFetchConfig.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beSignalFetchConfig.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beSignalFetchConfig.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-