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

com.pulumi.aws.amp.inputs.ScraperDestinationAmpArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.amp.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final ScraperDestinationAmpArgs Empty = new ScraperDestinationAmpArgs();

    /**
     * The Amazon Resource Name (ARN) of the prometheus workspace.
     * 
     */
    @Import(name="workspaceArn", required=true)
    private Output workspaceArn;

    /**
     * @return The Amazon Resource Name (ARN) of the prometheus workspace.
     * 
     */
    public Output workspaceArn() {
        return this.workspaceArn;
    }

    private ScraperDestinationAmpArgs() {}

    private ScraperDestinationAmpArgs(ScraperDestinationAmpArgs $) {
        this.workspaceArn = $.workspaceArn;
    }

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

    public static final class Builder {
        private ScraperDestinationAmpArgs $;

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

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

        /**
         * @param workspaceArn The Amazon Resource Name (ARN) of the prometheus workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceArn(Output workspaceArn) {
            $.workspaceArn = workspaceArn;
            return this;
        }

        /**
         * @param workspaceArn The Amazon Resource Name (ARN) of the prometheus workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceArn(String workspaceArn) {
            return workspaceArn(Output.of(workspaceArn));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy