Enum ROS2PrimitiveType
- java.lang.Object
-
- java.lang.Enum<ROS2PrimitiveType>
-
- software.amazon.awssdk.services.iotfleetwise.model.ROS2PrimitiveType
-
- All Implemented Interfaces:
Serializable,Comparable<ROS2PrimitiveType>
@Generated("software.amazon.awssdk:codegen") public enum ROS2PrimitiveType extends Enum<ROS2PrimitiveType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ROS2PrimitiveTypefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<ROS2PrimitiveType>knownValues()StringtoString()static ROS2PrimitiveTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ROS2PrimitiveType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOL
public static final ROS2PrimitiveType BOOL
-
BYTE
public static final ROS2PrimitiveType BYTE
-
CHAR
public static final ROS2PrimitiveType CHAR
-
FLOAT32
public static final ROS2PrimitiveType FLOAT32
-
FLOAT64
public static final ROS2PrimitiveType FLOAT64
-
INT8
public static final ROS2PrimitiveType INT8
-
UINT8
public static final ROS2PrimitiveType UINT8
-
INT16
public static final ROS2PrimitiveType INT16
-
UINT16
public static final ROS2PrimitiveType UINT16
-
INT32
public static final ROS2PrimitiveType INT32
-
UINT32
public static final ROS2PrimitiveType UINT32
-
INT64
public static final ROS2PrimitiveType INT64
-
UINT64
public static final ROS2PrimitiveType UINT64
-
STRING
public static final ROS2PrimitiveType STRING
-
WSTRING
public static final ROS2PrimitiveType WSTRING
-
UNKNOWN_TO_SDK_VERSION
public static final ROS2PrimitiveType UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static ROS2PrimitiveType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ROS2PrimitiveType c : ROS2PrimitiveType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ROS2PrimitiveType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<ROS2PrimitiveType>
-
fromValue
public static ROS2PrimitiveType fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- ROS2PrimitiveType corresponding to the value
-
knownValues
public static Set<ROS2PrimitiveType> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownROS2PrimitiveTypes
-
-