io.github.cdklabs.cdk.codepipeline.extensions.Calendar Maven / Gradle / Ivy
Show all versions of cdk-codepipeline-extensions Show documentation
package io.github.cdklabs.cdk.codepipeline.extensions;
/**
* (experimental) The calendar for determining if pipeline stage should be open or closed.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.94.0 (build b380f01)", date = "2024-02-26T00:08:15.474Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdk.codepipeline.extensions.$Module.class, fqn = "@cdklabs/cdk-codepipeline-extensions.Calendar")
public abstract class Calendar extends software.amazon.jsii.JsiiObject {
protected Calendar(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected Calendar(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
protected Calendar() {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
}
/**
* (experimental) Creates a calendar from a local file.
*
* @param options This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.codepipeline.extensions.Calendar path(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.codepipeline.extensions.LocalPathOptions options) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.cdk.codepipeline.extensions.Calendar.class, "path", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.codepipeline.extensions.Calendar.class), new Object[] { java.util.Objects.requireNonNull(options, "options is required") });
}
/**
* (experimental) Creates a calendar from a S3 bucket.
*
* @param options This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.codepipeline.extensions.Calendar s3Location(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.codepipeline.extensions.S3LocationOptions options) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.cdk.codepipeline.extensions.Calendar.class, "s3Location", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.codepipeline.extensions.Calendar.class), new Object[] { java.util.Objects.requireNonNull(options, "options is required") });
}
/**
* (experimental) The ARN of the calendar in SSM.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.String getCalendarArn() {
return software.amazon.jsii.Kernel.get(this, "calendarArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) The ARN of the calendar in SSM.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void setCalendarArn(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "calendarArn", java.util.Objects.requireNonNull(value, "calendarArn is required"));
}
/**
* (experimental) The name of the calendar.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.String getCalendarName() {
return software.amazon.jsii.Kernel.get(this, "calendarName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* (experimental) The name of the calendar.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void setCalendarName(final @org.jetbrains.annotations.NotNull java.lang.String value) {
software.amazon.jsii.Kernel.set(this, "calendarName", java.util.Objects.requireNonNull(value, "calendarName is required"));
}
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
@software.amazon.jsii.Internal
private static final class Jsii$Proxy extends io.github.cdklabs.cdk.codepipeline.extensions.Calendar {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
}
}