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

io.github.cdklabs.codebuildsonarcloud.CDKCodeBuildSonarcloud Maven / Gradle / Ivy

The newest version!
package io.github.cdklabs.codebuildsonarcloud;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-20T07:17:32.338Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.codebuildsonarcloud.$Module.class, fqn = "cdk-codebuild-sonarcloud.CDKCodeBuildSonarcloud")
public class CDKCodeBuildSonarcloud extends software.constructs.Construct {

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

    protected CDKCodeBuildSonarcloud(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.Experimental)
    public CDKCodeBuildSonarcloud(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull io.github.cdklabs.codebuildsonarcloud.CDKCodeBuildSonarcloudProps 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.Experimental)
    public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.codepipeline.actions.CodeBuildAction getBuildAction() {
        return software.amazon.jsii.Kernel.get(this, "buildAction", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.codepipeline.actions.CodeBuildAction.class));
    }

    /**
     * (experimental) A fluent builder for {@link io.github.cdklabs.codebuildsonarcloud.CDKCodeBuildSonarcloud}.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    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.Experimental)
        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 io.github.cdklabs.codebuildsonarcloud.CDKCodeBuildSonarcloudProps.Builder props;

        private Builder(final software.constructs.Construct scope, final java.lang.String id) {
            this.scope = scope;
            this.id = id;
            this.props = new io.github.cdklabs.codebuildsonarcloud.CDKCodeBuildSonarcloudProps.Builder();
        }

        /**
         * @return {@code this}
         * @param sonarOrganizationName This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder sonarOrganizationName(final java.lang.String sonarOrganizationName) {
            this.props.sonarOrganizationName(sonarOrganizationName);
            return this;
        }

        /**
         * @return {@code this}
         * @param sonarProjectName This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder sonarProjectName(final java.lang.String sonarProjectName) {
            this.props.sonarProjectName(sonarProjectName);
            return this;
        }

        /**
         * @return {@code this}
         * @param sourceOutput This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder sourceOutput(final software.amazon.awscdk.services.codepipeline.Artifact sourceOutput) {
            this.props.sourceOutput(sourceOutput);
            return this;
        }

        /**
         * @return a newly built instance of {@link io.github.cdklabs.codebuildsonarcloud.CDKCodeBuildSonarcloud}.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        @Override
        public io.github.cdklabs.codebuildsonarcloud.CDKCodeBuildSonarcloud build() {
            return new io.github.cdklabs.codebuildsonarcloud.CDKCodeBuildSonarcloud(
                this.scope,
                this.id,
                this.props.build()
            );
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy