Class StateTemplateUpdateStrategy
- java.lang.Object
-
- software.amazon.awssdk.services.iotfleetwise.model.StateTemplateUpdateStrategy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StateTemplateUpdateStrategy.Builder,StateTemplateUpdateStrategy>
@Generated("software.amazon.awssdk:codegen") public final class StateTemplateUpdateStrategy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StateTemplateUpdateStrategy.Builder,StateTemplateUpdateStrategy>
The update strategy for the state template. Vehicles associated with the state template can stream telemetry data with either an
onChangeorperiodicupdate strategy.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 interfaceStateTemplateUpdateStrategy.Builderstatic classStateTemplateUpdateStrategy.Type
-
Method Summary
-
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
-
periodic
public final PeriodicStateTemplateUpdateStrategy periodic()
Returns the value of the Periodic property for this object.- Returns:
- The value of the Periodic property for this object.
-
onChange
public final OnChangeStateTemplateUpdateStrategy onChange()
Returns the value of the OnChange property for this object.- Returns:
- The value of the OnChange property for this object.
-
toBuilder
public StateTemplateUpdateStrategy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StateTemplateUpdateStrategy.Builder,StateTemplateUpdateStrategy>
-
builder
public static StateTemplateUpdateStrategy.Builder builder()
-
serializableBuilderClass
public static Class<? extends StateTemplateUpdateStrategy.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.
-
fromPeriodic
public static StateTemplateUpdateStrategy fromPeriodic(PeriodicStateTemplateUpdateStrategy periodic)
Create an instance of this class withperiodic()initialized to the given value. Sets the value of the Periodic property for this object.- Parameters:
periodic- The new value for the Periodic property for this object.
-
fromPeriodic
public static StateTemplateUpdateStrategy fromPeriodic(Consumer<PeriodicStateTemplateUpdateStrategy.Builder> periodic)
Create an instance of this class withperiodic()initialized to the given value. Sets the value of the Periodic property for this object.- Parameters:
periodic- The new value for the Periodic property for this object.
-
fromOnChange
public static StateTemplateUpdateStrategy fromOnChange(OnChangeStateTemplateUpdateStrategy onChange)
Create an instance of this class withonChange()initialized to the given value. Sets the value of the OnChange property for this object.- Parameters:
onChange- The new value for the OnChange property for this object.
-
fromOnChange
public static StateTemplateUpdateStrategy fromOnChange(Consumer<OnChangeStateTemplateUpdateStrategy.Builder> onChange)
Create an instance of this class withonChange()initialized to the given value. Sets the value of the OnChange property for this object.- Parameters:
onChange- The new value for the OnChange property for this object.
-
type
public StateTemplateUpdateStrategy.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 beStateTemplateUpdateStrategy.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 beStateTemplateUpdateStrategy.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
-
-