org.mongodb.awscdk.resources.mongodbatlas.AtlasBasicPrivateEndpoint Maven / Gradle / Ivy
Show all versions of awscdk-resources-mongodbatlas Show documentation
package org.mongodb.awscdk.resources.mongodbatlas;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.101.0 (build b95fe5d)", date = "2024-07-30T09:54:28.873Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.mongodb.awscdk.resources.mongodbatlas.$Module.class, fqn = "awscdk-resources-mongodbatlas.AtlasBasicPrivateEndpoint")
public class AtlasBasicPrivateEndpoint extends software.constructs.Construct {
protected AtlasBasicPrivateEndpoint(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected AtlasBasicPrivateEndpoint(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* Creates an instance of AtlasBasicPrivateEndpoint.
*
* @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 AtlasBasicPrivateEndpoint(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull org.mongodb.awscdk.resources.mongodbatlas.AtlasBasicPrivateEndpointProps 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") });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull org.mongodb.awscdk.resources.mongodbatlas.AtlasBasic getAtlasBasic() {
return software.amazon.jsii.Kernel.get(this, "atlasBasic", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.AtlasBasic.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.CfnVPCEndpoint getAwsPrivateEndpoint() {
return software.amazon.jsii.Kernel.get(this, "awsPrivateEndpoint", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.CfnVPCEndpoint.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull org.mongodb.awscdk.resources.mongodbatlas.CfnPrivateEndpointAws getPrivateEndpointAws() {
return software.amazon.jsii.Kernel.get(this, "privateEndpointAws", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.CfnPrivateEndpointAws.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull org.mongodb.awscdk.resources.mongodbatlas.CfnPrivateEndpointService getPrivateEndpointService() {
return software.amazon.jsii.Kernel.get(this, "privateEndpointService", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.CfnPrivateEndpointService.class));
}
/**
* A fluent builder for {@link org.mongodb.awscdk.resources.mongodbatlas.AtlasBasicPrivateEndpoint}.
*/
@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 org.mongodb.awscdk.resources.mongodbatlas.AtlasBasicPrivateEndpointProps.Builder props;
private Builder(final software.constructs.Construct scope, final java.lang.String id) {
this.scope = scope;
this.id = id;
this.props = new org.mongodb.awscdk.resources.mongodbatlas.AtlasBasicPrivateEndpointProps.Builder();
}
/**
* @return {@code this}
* @param atlasBasicProps This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder atlasBasicProps(final org.mongodb.awscdk.resources.mongodbatlas.AtlasBasicProps atlasBasicProps) {
this.props.atlasBasicProps(atlasBasicProps);
return this;
}
/**
* @return {@code this}
* @param privateEndpointProps This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder privateEndpointProps(final org.mongodb.awscdk.resources.mongodbatlas.PrivateEndpointProps privateEndpointProps) {
this.props.privateEndpointProps(privateEndpointProps);
return this;
}
/**
* Default: us-east-1
*
* @return {@code this}
* @param region This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder region(final java.lang.String region) {
this.props.region(region);
return this;
}
/**
* @return {@code this}
* @param profile This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder profile(final java.lang.String profile) {
this.props.profile(profile);
return this;
}
/**
* @return a newly built instance of {@link org.mongodb.awscdk.resources.mongodbatlas.AtlasBasicPrivateEndpoint}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public org.mongodb.awscdk.resources.mongodbatlas.AtlasBasicPrivateEndpoint build() {
return new org.mongodb.awscdk.resources.mongodbatlas.AtlasBasicPrivateEndpoint(
this.scope,
this.id,
this.props.build()
);
}
}
}