All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mongodb.awscdk.resources.mongodbatlas.CfnX509AuthenticationDatabaseUser Maven / Gradle / Ivy

There is a newer version: 3.9.0
Show newest version
package org.mongodb.awscdk.resources.mongodbatlas;

/**
 * A CloudFormation MongoDB::Atlas::X509AuthenticationDatabaseUser.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.101.0 (build b95fe5d)", date = "2024-07-30T09:54:28.994Z")
@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.CfnX509AuthenticationDatabaseUser")
public class CfnX509AuthenticationDatabaseUser extends software.amazon.awscdk.CfnResource {

    protected CfnX509AuthenticationDatabaseUser(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected CfnX509AuthenticationDatabaseUser(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    static {
        CFN_RESOURCE_TYPE_NAME = software.amazon.jsii.JsiiObject.jsiiStaticGet(org.mongodb.awscdk.resources.mongodbatlas.CfnX509AuthenticationDatabaseUser.class, "CFN_RESOURCE_TYPE_NAME", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     * Create a new MongoDB::Atlas::X509AuthenticationDatabaseUser.
     * 

* @param scope

  • scope in which this resource is defined.
This parameter is required. * @param id
  • scoped id of the resource.
This parameter is required. * @param props
  • resource properties.
This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public CfnX509AuthenticationDatabaseUser(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.CfnX509AuthenticationDatabaseUserProps 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") }); } /** * The CloudFormation resource type name for this resource class. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final static java.lang.String CFN_RESOURCE_TYPE_NAME; /** * Attribute MongoDB::Atlas::X509AuthenticationDatabaseUser.MonthsUntilExpiration. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.Number getAttrMonthsUntilExpiration() { return software.amazon.jsii.Kernel.get(this, "attrMonthsUntilExpiration", software.amazon.jsii.NativeType.forClass(java.lang.Number.class)); } /** * Attribute MongoDB::Atlas::X509AuthenticationDatabaseUser.TotalCount. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.Number getAttrTotalCount() { return software.amazon.jsii.Kernel.get(this, "attrTotalCount", software.amazon.jsii.NativeType.forClass(java.lang.Number.class)); } /** * Resource props. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull org.mongodb.awscdk.resources.mongodbatlas.CfnX509AuthenticationDatabaseUserProps getProps() { return software.amazon.jsii.Kernel.get(this, "props", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.CfnX509AuthenticationDatabaseUserProps.class)); } /** * A fluent builder for {@link org.mongodb.awscdk.resources.mongodbatlas.CfnX509AuthenticationDatabaseUser}. */ @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
  • scope in which this resource is defined.
This parameter is required. * @param id
  • scoped id of the resource.
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.CfnX509AuthenticationDatabaseUserProps.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.CfnX509AuthenticationDatabaseUserProps.Builder(); } /** * CustomerX509 represents Customer-managed X.509 configuration for an Atlas project. *

* @return {@code this} * @param customerX509 CustomerX509 represents Customer-managed X.509 configuration for an Atlas project. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder customerX509(final org.mongodb.awscdk.resources.mongodbatlas.CustomerX509 customerX509) { this.props.customerX509(customerX509); return this; } /** * Profile used to provide credentials information, (a secret with the cfn/atlas/profile/{Profile}, is required), if not provided default is used. *

* @return {@code this} * @param profile Profile used to provide credentials information, (a secret with the cfn/atlas/profile/{Profile}, is required), if not provided default is used. 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; } /** * The unique identifier for the project . *

* @return {@code this} * @param projectId The unique identifier for the project . 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; } /** * Username of the database user to create a certificate for. *

* @return {@code this} * @param userName Username of the database user to create a certificate for. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder userName(final java.lang.String userName) { this.props.userName(userName); return this; } /** * @return a newly built instance of {@link org.mongodb.awscdk.resources.mongodbatlas.CfnX509AuthenticationDatabaseUser}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public org.mongodb.awscdk.resources.mongodbatlas.CfnX509AuthenticationDatabaseUser build() { return new org.mongodb.awscdk.resources.mongodbatlas.CfnX509AuthenticationDatabaseUser( this.scope, this.id, this.props.build() ); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy