com.pulumi.aws.amp.inputs.ScraperDestinationAmpArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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