ca.wheatstalk.cdkecskeycloak.FromVpcProvider Maven / Gradle / Ivy
Show all versions of cdk-ecs-keycloak Show documentation
package ca.wheatstalk.cdkecskeycloak;
/**
* Directly provides the given VPC.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.29.0 (build 41df200)", date = "2021-04-28T04:27:48.344Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = ca.wheatstalk.cdkecskeycloak.$Module.class, fqn = "@wheatstalk/cdk-ecs-keycloak.FromVpcProvider")
public class FromVpcProvider extends software.amazon.jsii.JsiiObject implements ca.wheatstalk.cdkecskeycloak.IVpcInfoProvider {
protected FromVpcProvider(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected FromVpcProvider(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public FromVpcProvider(final @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.FromVpcProviderProps props) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* A fluent builder for {@link ca.wheatstalk.cdkecskeycloak.FromVpcProvider}.
*/
@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}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static Builder create() {
return new Builder();
}
private final ca.wheatstalk.cdkecskeycloak.FromVpcProviderProps.Builder props;
private Builder() {
this.props = new ca.wheatstalk.cdkecskeycloak.FromVpcProviderProps.Builder();
}
/**
* The VPC.
*
* @return {@code this}
* @param vpc The VPC. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder vpc(final software.amazon.awscdk.services.ec2.IVpc vpc) {
this.props.vpc(vpc);
return this;
}
/**
* @returns a newly built instance of {@link ca.wheatstalk.cdkecskeycloak.FromVpcProvider}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public ca.wheatstalk.cdkecskeycloak.FromVpcProvider build() {
return new ca.wheatstalk.cdkecskeycloak.FromVpcProvider(
this.props.build()
);
}
}
}