software.amazon.awssdk.aws.greengrass.model.ReportedLifecycleState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-iot-device-sdk Show documentation
Show all versions of aws-iot-device-sdk Show documentation
Java bindings for the AWS IoT Core Service
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*
* This file is generated.
*/
package software.amazon.awssdk.aws.greengrass.model;
import com.google.gson.annotations.SerializedName;
import java.lang.Override;
import java.lang.String;
import java.util.HashMap;
import java.util.Map;
import software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage;
public enum ReportedLifecycleState implements EventStreamJsonMessage {
@SerializedName("RUNNING")
RUNNING("RUNNING"),
@SerializedName("ERRORED")
ERRORED("ERRORED");
public static final String APPLICATION_MODEL_TYPE = "aws.greengrass#ReportedLifecycleState";
private static final Map lookup = new HashMap();
static {
for (ReportedLifecycleState value:ReportedLifecycleState.values()) {
lookup.put(value.getValue(), value);
}
}
String value;
ReportedLifecycleState(String value) {
this.value = value;
}
public String getValue() {
return value;
}
@Override
public String getApplicationModelType() {
return APPLICATION_MODEL_TYPE;
}
public static ReportedLifecycleState get(String value) {
return lookup.get(value);
}
}