com.gammarer.cdk.aws.rds_database_running_scheduler.RdsDatabaseRunningScheduler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-rds-database-running-scheduler Show documentation
Show all versions of aws-rds-database-running-scheduler Show documentation
AWS RDS Database Running Scheduler
The newest version!
package com.gammarer.cdk.aws.rds_database_running_scheduler;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.98.0 (build 00b106d)", date = "2024-05-01T16:20:43.029Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = com.gammarer.cdk.aws.rds_database_running_scheduler.$Module.class, fqn = "@gammarer/aws-rds-database-running-scheduler.RdsDatabaseRunningScheduler")
public class RdsDatabaseRunningScheduler extends software.constructs.Construct {
protected RdsDatabaseRunningScheduler(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected RdsDatabaseRunningScheduler(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param scope This parameter is required.
* @param id This parameter is required.
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public RdsDatabaseRunningScheduler(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull com.gammarer.cdk.aws.rds_database_running_scheduler.RdsDatabaseRunningSchedulerProps props) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* A fluent builder for {@link com.gammarer.cdk.aws.rds_database_running_scheduler.RdsDatabaseRunningScheduler}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static final class Builder implements software.amazon.jsii.Builder {
/**
* @return a new instance of {@link Builder}.
* @param scope This parameter is required.
* @param id This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static Builder create(final software.constructs.Construct scope, final java.lang.String id) {
return new Builder(scope, id);
}
private final software.constructs.Construct scope;
private final java.lang.String id;
private final com.gammarer.cdk.aws.rds_database_running_scheduler.RdsDatabaseRunningSchedulerProps.Builder props;
private Builder(final software.constructs.Construct scope, final java.lang.String id) {
this.scope = scope;
this.id = id;
this.props = new com.gammarer.cdk.aws.rds_database_running_scheduler.RdsDatabaseRunningSchedulerProps.Builder();
}
/**
* @return {@code this}
* @param targets This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder targets(final java.util.List extends com.gammarer.cdk.aws.rds_database_running_scheduler.TargetProperty> targets) {
this.props.targets(targets);
return this;
}
/**
* @return a newly built instance of {@link com.gammarer.cdk.aws.rds_database_running_scheduler.RdsDatabaseRunningScheduler}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public com.gammarer.cdk.aws.rds_database_running_scheduler.RdsDatabaseRunningScheduler build() {
return new com.gammarer.cdk.aws.rds_database_running_scheduler.RdsDatabaseRunningScheduler(
this.scope,
this.id,
this.props.build()
);
}
}
}