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

com.pulumi.sumologic.inputs.GetHttpSourceArgs Maven / Gradle / Ivy

The 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.sumologic.inputs;

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


public final class GetHttpSourceArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetHttpSourceArgs Empty = new GetHttpSourceArgs();

    @Import(name="collectorId")
    private @Nullable Output collectorId;

    public Optional> collectorId() {
        return Optional.ofNullable(this.collectorId);
    }

    @Import(name="id")
    private @Nullable Output id;

    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    @Import(name="name")
    private @Nullable Output name;

    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private GetHttpSourceArgs() {}

    private GetHttpSourceArgs(GetHttpSourceArgs $) {
        this.collectorId = $.collectorId;
        this.id = $.id;
        this.name = $.name;
    }

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

    public static final class Builder {
        private GetHttpSourceArgs $;

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

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

        public Builder collectorId(@Nullable Output collectorId) {
            $.collectorId = collectorId;
            return this;
        }

        public Builder collectorId(Integer collectorId) {
            return collectorId(Output.of(collectorId));
        }

        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        public Builder id(Integer id) {
            return id(Output.of(id));
        }

        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        public Builder name(String name) {
            return name(Output.of(name));
        }

        public GetHttpSourceArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy