Class BasicDeviceObject
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BasicDeviceObject.Builder,BasicDeviceObject>
Represents a device where a user has logged into Wickr, containing information about the device's type, status, and login history.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringappId()The unique application ID for the Wickr app on this device.static BasicDeviceObject.Builderbuilder()final Stringcreated()The timestamp when the device first appeared in the Wickr database.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 StringThe timestamp when the device last successfully logged into Wickr.static Class<? extends BasicDeviceObject.Builder> final StringThe current status of the device, either 'Active' or 'Reset' depending on whether the device is currently active or has been marked for reset.final Booleansuspend()Indicates whether the device is suspended.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.final Stringtype()The operating system of the device (e.g., 'MacOSX', 'Windows', 'iOS', 'Android').Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
appId
The unique application ID for the Wickr app on this device.
- Returns:
- The unique application ID for the Wickr app on this device.
-
created
The timestamp when the device first appeared in the Wickr database.
- Returns:
- The timestamp when the device first appeared in the Wickr database.
-
lastLogin
The timestamp when the device last successfully logged into Wickr. This is also used to determine SSO idle time.
- Returns:
- The timestamp when the device last successfully logged into Wickr. This is also used to determine SSO idle time.
-
statusText
The current status of the device, either 'Active' or 'Reset' depending on whether the device is currently active or has been marked for reset.
- Returns:
- The current status of the device, either 'Active' or 'Reset' depending on whether the device is currently active or has been marked for reset.
-
suspend
Indicates whether the device is suspended.
- Returns:
- Indicates whether the device is suspended.
-
type
The operating system of the device (e.g., 'MacOSX', 'Windows', 'iOS', 'Android').
- Returns:
- The operating system of the device (e.g., 'MacOSX', 'Windows', 'iOS', 'Android').
-
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<BasicDeviceObject.Builder,BasicDeviceObject> - 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.
-