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

com.pulumi.azurenative.securityinsights.inputs.AzureDevOpsResourceInfoArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.securityinsights.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Resources created in Azure DevOps repository.
 * 
 */
public final class AzureDevOpsResourceInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureDevOpsResourceInfoArgs Empty = new AzureDevOpsResourceInfoArgs();

    /**
     * Id of the pipeline created for the source-control.
     * 
     */
    @Import(name="pipelineId")
    private @Nullable Output pipelineId;

    /**
     * @return Id of the pipeline created for the source-control.
     * 
     */
    public Optional> pipelineId() {
        return Optional.ofNullable(this.pipelineId);
    }

    /**
     * Id of the service-connection created for the source-control.
     * 
     */
    @Import(name="serviceConnectionId")
    private @Nullable Output serviceConnectionId;

    /**
     * @return Id of the service-connection created for the source-control.
     * 
     */
    public Optional> serviceConnectionId() {
        return Optional.ofNullable(this.serviceConnectionId);
    }

    private AzureDevOpsResourceInfoArgs() {}

    private AzureDevOpsResourceInfoArgs(AzureDevOpsResourceInfoArgs $) {
        this.pipelineId = $.pipelineId;
        this.serviceConnectionId = $.serviceConnectionId;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(AzureDevOpsResourceInfoArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private AzureDevOpsResourceInfoArgs $;

        public Builder() {
            $ = new AzureDevOpsResourceInfoArgs();
        }

        public Builder(AzureDevOpsResourceInfoArgs defaults) {
            $ = new AzureDevOpsResourceInfoArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param pipelineId Id of the pipeline created for the source-control.
         * 
         * @return builder
         * 
         */
        public Builder pipelineId(@Nullable Output pipelineId) {
            $.pipelineId = pipelineId;
            return this;
        }

        /**
         * @param pipelineId Id of the pipeline created for the source-control.
         * 
         * @return builder
         * 
         */
        public Builder pipelineId(String pipelineId) {
            return pipelineId(Output.of(pipelineId));
        }

        /**
         * @param serviceConnectionId Id of the service-connection created for the source-control.
         * 
         * @return builder
         * 
         */
        public Builder serviceConnectionId(@Nullable Output serviceConnectionId) {
            $.serviceConnectionId = serviceConnectionId;
            return this;
        }

        /**
         * @param serviceConnectionId Id of the service-connection created for the source-control.
         * 
         * @return builder
         * 
         */
        public Builder serviceConnectionId(String serviceConnectionId) {
            return serviceConnectionId(Output.of(serviceConnectionId));
        }

        public AzureDevOpsResourceInfoArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy