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

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

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

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.101.0 (build b95fe5d)", date = "2024-07-30T09:54:29.017Z")
@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.DatadogIntegration")
public class DatadogIntegration extends software.constructs.Construct {

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

    protected DatadogIntegration(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 DatadogIntegration(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.DatadogIntegrationProps 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.CfnThirdPartyIntegration getCfnThirdPartyIntegration() {
        return software.amazon.jsii.Kernel.get(this, "cfnThirdPartyIntegration", software.amazon.jsii.NativeType.forClass(org.mongodb.awscdk.resources.mongodbatlas.CfnThirdPartyIntegration.class));
    }

    /**
     * A fluent builder for {@link org.mongodb.awscdk.resources.mongodbatlas.DatadogIntegration}.
     */
    @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.DatadogIntegrationProps.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.DatadogIntegrationProps.Builder();
        }

        /**
         * Unique 24-hexadecimal digit string that identifies your project.
         * 

* @return {@code this} * @param projectId Unique 24-hexadecimal digit string that identifies your 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; } /** * Atlas API keys. *

* @return {@code this} * @param profile Atlas API keys. 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; } /** * Key that allows MongoDB Cloud to access your Datadog account. *

* @return {@code this} * @param apiKey Key that allows MongoDB Cloud to access your Datadog account. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder apiKey(final java.lang.String apiKey) { this.props.apiKey(apiKey); return this; } /** * Two-letter code that indicates which regional URL MongoDB uses to access the Datadog API. *

* @return {@code this} * @param region Two-letter code that indicates which regional URL MongoDB uses to access the Datadog API. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder region(final org.mongodb.awscdk.resources.mongodbatlas.DatadogRegion region) { this.props.region(region); return this; } /** * @return a newly built instance of {@link org.mongodb.awscdk.resources.mongodbatlas.DatadogIntegration}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public org.mongodb.awscdk.resources.mongodbatlas.DatadogIntegration build() { return new org.mongodb.awscdk.resources.mongodbatlas.DatadogIntegration( this.scope, this.id, this.props.build() ); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy