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

com.pulumi.azurenative.insights.DataCollectionEndpointArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.insights;

import com.pulumi.azurenative.insights.enums.KnownDataCollectionEndpointResourceKind;
import com.pulumi.azurenative.insights.inputs.DataCollectionEndpointNetworkAclsArgs;
import com.pulumi.azurenative.insights.inputs.DataCollectionEndpointResourceIdentityArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class DataCollectionEndpointArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataCollectionEndpointArgs Empty = new DataCollectionEndpointArgs();

    /**
     * The name of the data collection endpoint. The name is case insensitive.
     * 
     */
    @Import(name="dataCollectionEndpointName")
    private @Nullable Output dataCollectionEndpointName;

    /**
     * @return The name of the data collection endpoint. The name is case insensitive.
     * 
     */
    public Optional> dataCollectionEndpointName() {
        return Optional.ofNullable(this.dataCollectionEndpointName);
    }

    /**
     * Description of the data collection endpoint.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Description of the data collection endpoint.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Managed service identity of the resource.
     * 
     */
    @Import(name="identity")
    private @Nullable Output identity;

    /**
     * @return Managed service identity of the resource.
     * 
     */
    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
     * 
     */
    @Import(name="immutableId")
    private @Nullable Output immutableId;

    /**
     * @return The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
     * 
     */
    public Optional> immutableId() {
        return Optional.ofNullable(this.immutableId);
    }

    /**
     * The kind of the resource.
     * 
     */
    @Import(name="kind")
    private @Nullable Output> kind;

    /**
     * @return The kind of the resource.
     * 
     */
    public Optional>> kind() {
        return Optional.ofNullable(this.kind);
    }

    /**
     * The geo-location where the resource lives.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The geo-location where the resource lives.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Network access control rules for the endpoints.
     * 
     */
    @Import(name="networkAcls")
    private @Nullable Output networkAcls;

    /**
     * @return Network access control rules for the endpoints.
     * 
     */
    public Optional> networkAcls() {
        return Optional.ofNullable(this.networkAcls);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private DataCollectionEndpointArgs() {}

    private DataCollectionEndpointArgs(DataCollectionEndpointArgs $) {
        this.dataCollectionEndpointName = $.dataCollectionEndpointName;
        this.description = $.description;
        this.identity = $.identity;
        this.immutableId = $.immutableId;
        this.kind = $.kind;
        this.location = $.location;
        this.networkAcls = $.networkAcls;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private DataCollectionEndpointArgs $;

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

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

        /**
         * @param dataCollectionEndpointName The name of the data collection endpoint. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder dataCollectionEndpointName(@Nullable Output dataCollectionEndpointName) {
            $.dataCollectionEndpointName = dataCollectionEndpointName;
            return this;
        }

        /**
         * @param dataCollectionEndpointName The name of the data collection endpoint. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder dataCollectionEndpointName(String dataCollectionEndpointName) {
            return dataCollectionEndpointName(Output.of(dataCollectionEndpointName));
        }

        /**
         * @param description Description of the data collection endpoint.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Description of the data collection endpoint.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param identity Managed service identity of the resource.
         * 
         * @return builder
         * 
         */
        public Builder identity(@Nullable Output identity) {
            $.identity = identity;
            return this;
        }

        /**
         * @param identity Managed service identity of the resource.
         * 
         * @return builder
         * 
         */
        public Builder identity(DataCollectionEndpointResourceIdentityArgs identity) {
            return identity(Output.of(identity));
        }

        /**
         * @param immutableId The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
         * 
         * @return builder
         * 
         */
        public Builder immutableId(@Nullable Output immutableId) {
            $.immutableId = immutableId;
            return this;
        }

        /**
         * @param immutableId The immutable ID of this data collection endpoint resource. This property is READ-ONLY.
         * 
         * @return builder
         * 
         */
        public Builder immutableId(String immutableId) {
            return immutableId(Output.of(immutableId));
        }

        /**
         * @param kind The kind of the resource.
         * 
         * @return builder
         * 
         */
        public Builder kind(@Nullable Output> kind) {
            $.kind = kind;
            return this;
        }

        /**
         * @param kind The kind of the resource.
         * 
         * @return builder
         * 
         */
        public Builder kind(Either kind) {
            return kind(Output.of(kind));
        }

        /**
         * @param kind The kind of the resource.
         * 
         * @return builder
         * 
         */
        public Builder kind(String kind) {
            return kind(Either.ofLeft(kind));
        }

        /**
         * @param kind The kind of the resource.
         * 
         * @return builder
         * 
         */
        public Builder kind(KnownDataCollectionEndpointResourceKind kind) {
            return kind(Either.ofRight(kind));
        }

        /**
         * @param location The geo-location where the resource lives.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The geo-location where the resource lives.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param networkAcls Network access control rules for the endpoints.
         * 
         * @return builder
         * 
         */
        public Builder networkAcls(@Nullable Output networkAcls) {
            $.networkAcls = networkAcls;
            return this;
        }

        /**
         * @param networkAcls Network access control rules for the endpoints.
         * 
         * @return builder
         * 
         */
        public Builder networkAcls(DataCollectionEndpointNetworkAclsArgs networkAcls) {
            return networkAcls(Output.of(networkAcls));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public DataCollectionEndpointArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("DataCollectionEndpointArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy