io.github.cdklabs.projen.java.UpdatePolicy Maven / Gradle / Ivy
Show all versions of projen Show documentation
package io.github.cdklabs.projen.java;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.105.0 (build 0a2adcb)", date = "2024-11-15T17:03:55.271Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.projen.$Module.class, fqn = "projen.java.UpdatePolicy")
public class UpdatePolicy extends software.amazon.jsii.JsiiObject {
protected UpdatePolicy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected UpdatePolicy(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
static {
ALWAYS = software.amazon.jsii.JsiiObject.jsiiStaticGet(io.github.cdklabs.projen.java.UpdatePolicy.class, "ALWAYS", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
DAILY = software.amazon.jsii.JsiiObject.jsiiStaticGet(io.github.cdklabs.projen.java.UpdatePolicy.class, "DAILY", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
NEVER = software.amazon.jsii.JsiiObject.jsiiStaticGet(io.github.cdklabs.projen.java.UpdatePolicy.class, "NEVER", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public UpdatePolicy() {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
}
/**
* (experimental) Updates at an interval of X minutes.
*
* @param minutes This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull java.lang.String interval(final @org.jetbrains.annotations.NotNull java.lang.Number minutes) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.projen.java.UpdatePolicy.class, "interval", software.amazon.jsii.NativeType.forClass(java.lang.String.class), new Object[] { java.util.Objects.requireNonNull(minutes, "minutes is required") });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final static java.lang.String ALWAYS;
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final static java.lang.String DAILY;
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public final static java.lang.String NEVER;
}