com.pulumi.googlenative.integrations.v1alpha.enums.GoogleCloudIntegrationsV1alphaSuccessPolicyFinalState Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.googlenative.integrations.v1alpha.enums;
import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;
/**
* State to which the execution snapshot status will be set if the task succeeds.
*
*/
@EnumType
public enum GoogleCloudIntegrationsV1alphaSuccessPolicyFinalState {
/**
* UNSPECIFIED.
*
*/
FinalStateUnspecified("FINAL_STATE_UNSPECIFIED"),
/**
* The default behavior, where successful tasks will be marked as SUCCEEDED.
*
*/
Succeeded("SUCCEEDED"),
/**
* Sets the state to SUSPENDED after executing. This is required for SuspensionTask; event execution will continue once the user calls ResolveSuspensions with the event_execution_info_id and the task number.
*
*/
Suspended("SUSPENDED");
private final String value;
GoogleCloudIntegrationsV1alphaSuccessPolicyFinalState(String value) {
this.value = Objects.requireNonNull(value);
}
@EnumType.Converter
public String getValue() {
return this.value;
}
@Override
public String toString() {
return new StringJoiner(", ", "GoogleCloudIntegrationsV1alphaSuccessPolicyFinalState[", "]")
.add("value='" + this.value + "'")
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy