org.mongodb.awscdk.resources.mongodbatlas.AtlasEncryptionAtRestExpress Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of awscdk-resources-mongodbatlas Show documentation
Show all versions of awscdk-resources-mongodbatlas Show documentation
MongoDB Atlas CDK Construct Library for AWS CloudFormation Resources
package org.mongodb.awscdk.resources.mongodbatlas;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.101.0 (build b95fe5d)", date = "2024-07-30T09:54:28.875Z")
@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.AtlasEncryptionAtRestExpress")
public class AtlasEncryptionAtRestExpress extends software.constructs.Construct {
protected AtlasEncryptionAtRestExpress(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected AtlasEncryptionAtRestExpress(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 AtlasEncryptionAtRestExpress(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.AtlasEncryptionAtRestExpressProps 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.CfnEncryptionAtRest getEncryptionAtRest() {
return software.amazon.jsii.Kernel.get(this, "encryptionAtRest", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.CfnEncryptionAtRest.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable org.mongodb.awscdk.resources.mongodbatlas.CfnProjectIpAccessList getAccessList() {
return software.amazon.jsii.Kernel.get(this, "accessList", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.CfnProjectIpAccessList.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable org.mongodb.awscdk.resources.mongodbatlas.CfnCluster getCluster() {
return software.amazon.jsii.Kernel.get(this, "cluster", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.CfnCluster.class));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable org.mongodb.awscdk.resources.mongodbatlas.CfnDatabaseUser getDatabaseUser() {
return software.amazon.jsii.Kernel.get(this, "databaseUser", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.CfnDatabaseUser.class));
}
/**
* A fluent builder for {@link org.mongodb.awscdk.resources.mongodbatlas.AtlasEncryptionAtRestExpress}.
*/
@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.AtlasEncryptionAtRestExpressProps.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.AtlasEncryptionAtRestExpressProps.Builder();
}
/**
* @return {@code this}
* @param encryptionAtRest This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder encryptionAtRest(final org.mongodb.awscdk.resources.mongodbatlas.EncryptionAtRestProps encryptionAtRest) {
this.props.encryptionAtRest(encryptionAtRest);
return this;
}
/**
* @return {@code this}
* @param projectId This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder projectId(final java.lang.String projectId) {
this.props.projectId(projectId);
return this;
}
/**
* @return {@code this}
* @param accessList This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder accessList(final org.mongodb.awscdk.resources.mongodbatlas.IpAccessListProps accessList) {
this.props.accessList(accessList);
return this;
}
/**
* @return {@code this}
* @param cluster This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder cluster(final org.mongodb.awscdk.resources.mongodbatlas.ClusterProps cluster) {
this.props.cluster(cluster);
return this;
}
/**
* @return {@code this}
* @param databaseUser This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder databaseUser(final org.mongodb.awscdk.resources.mongodbatlas.DatabaseUserProps databaseUser) {
this.props.databaseUser(databaseUser);
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.AtlasEncryptionAtRestExpress}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public org.mongodb.awscdk.resources.mongodbatlas.AtlasEncryptionAtRestExpress build() {
return new org.mongodb.awscdk.resources.mongodbatlas.AtlasEncryptionAtRestExpress(
this.scope,
this.id,
this.props.build()
);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy