KeyedAppState.KeyedAppStateBuilder


@AutoValue.Builder
abstract class KeyedAppState.KeyedAppStateBuilder


The builder for KeyedAppState.

Summary

Public functions

build

Added in 1.0.0
fun build(): KeyedAppState

Instantiate the KeyedAppState.

Severity will default to SEVERITY_INFO if not set.

Assumes the key is set, key length is at most 100 characters, message length is as most 1000 characters, data length is at most 1000 characters, and severity is set to either SEVERITY_INFO or SEVERITY_ERROR.

setData

Added in 1.0.0
abstract fun setData(data: String?): KeyedAppState.KeyedAppStateBuilder

Set getData.

setKey

Added in 1.0.0
abstract fun setKey(key: String): KeyedAppState.KeyedAppStateBuilder

Set getKey.

setMessage

Added in 1.0.0
abstract fun setMessage(message: String?): KeyedAppState.KeyedAppStateBuilder

Set getMessage.

setSeverity

Added in 1.0.0
abstract fun setSeverity(severity: Int): KeyedAppState.KeyedAppStateBuilder

Set getSeverity.