com.pulumi.googlenative.spanner.v1.enums.FreeInstanceMetadataExpireBehavior 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.spanner.v1.enums;
import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;
/**
* Specifies the expiration behavior of a free instance. The default of ExpireBehavior is `REMOVE_AFTER_GRACE_PERIOD`. This can be modified during or after creation, and before expiration.
*
*/
@EnumType
public enum FreeInstanceMetadataExpireBehavior {
/**
* Not specified.
*
*/
ExpireBehaviorUnspecified("EXPIRE_BEHAVIOR_UNSPECIFIED"),
/**
* When the free instance expires, upgrade the instance to a provisioned instance.
*
*/
FreeToProvisioned("FREE_TO_PROVISIONED"),
/**
* When the free instance expires, disable the instance, and delete it after the grace period passes if it has not been upgraded.
*
*/
RemoveAfterGracePeriod("REMOVE_AFTER_GRACE_PERIOD");
private final String value;
FreeInstanceMetadataExpireBehavior(String value) {
this.value = Objects.requireNonNull(value);
}
@EnumType.Converter
public String getValue() {
return this.value;
}
@Override
public String toString() {
return new StringJoiner(", ", "FreeInstanceMetadataExpireBehavior[", "]")
.add("value='" + this.value + "'")
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy