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

com.pulumi.signalfx.inputs.DataLinkState Maven / Gradle / Ivy

There is a newer version: 7.8.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.signalfx.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.signalfx.inputs.DataLinkTargetExternalUrlArgs;
import com.pulumi.signalfx.inputs.DataLinkTargetSignalfxDashboardArgs;
import com.pulumi.signalfx.inputs.DataLinkTargetSplunkArgs;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DataLinkState Empty = new DataLinkState();

    /**
     * If provided, scopes this data link to the supplied dashboard id. If omitted then the link will be global.
     * 
     */
    @Import(name="contextDashboardId")
    private @Nullable Output contextDashboardId;

    /**
     * @return If provided, scopes this data link to the supplied dashboard id. If omitted then the link will be global.
     * 
     */
    public Optional> contextDashboardId() {
        return Optional.ofNullable(this.contextDashboardId);
    }

    /**
     * Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify `property_name`.
     * 
     */
    @Import(name="propertyName")
    private @Nullable Output propertyName;

    /**
     * @return Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify `property_name`.
     * 
     */
    public Optional> propertyName() {
        return Optional.ofNullable(this.propertyName);
    }

    /**
     * Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify `property_name`.
     * 
     */
    @Import(name="propertyValue")
    private @Nullable Output propertyValue;

    /**
     * @return Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify `property_name`.
     * 
     */
    public Optional> propertyValue() {
        return Optional.ofNullable(this.propertyValue);
    }

    /**
     * Link to an external URL
     * 
     */
    @Import(name="targetExternalUrls")
    private @Nullable Output> targetExternalUrls;

    /**
     * @return Link to an external URL
     * 
     */
    public Optional>> targetExternalUrls() {
        return Optional.ofNullable(this.targetExternalUrls);
    }

    /**
     * Link to a Splunk Observability Cloud dashboard
     * 
     */
    @Import(name="targetSignalfxDashboards")
    private @Nullable Output> targetSignalfxDashboards;

    /**
     * @return Link to a Splunk Observability Cloud dashboard
     * 
     */
    public Optional>> targetSignalfxDashboards() {
        return Optional.ofNullable(this.targetSignalfxDashboards);
    }

    /**
     * Link to an external URL
     * 
     */
    @Import(name="targetSplunks")
    private @Nullable Output> targetSplunks;

    /**
     * @return Link to an external URL
     * 
     */
    public Optional>> targetSplunks() {
        return Optional.ofNullable(this.targetSplunks);
    }

    private DataLinkState() {}

    private DataLinkState(DataLinkState $) {
        this.contextDashboardId = $.contextDashboardId;
        this.propertyName = $.propertyName;
        this.propertyValue = $.propertyValue;
        this.targetExternalUrls = $.targetExternalUrls;
        this.targetSignalfxDashboards = $.targetSignalfxDashboards;
        this.targetSplunks = $.targetSplunks;
    }

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

    public static final class Builder {
        private DataLinkState $;

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

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

        /**
         * @param contextDashboardId If provided, scopes this data link to the supplied dashboard id. If omitted then the link will be global.
         * 
         * @return builder
         * 
         */
        public Builder contextDashboardId(@Nullable Output contextDashboardId) {
            $.contextDashboardId = contextDashboardId;
            return this;
        }

        /**
         * @param contextDashboardId If provided, scopes this data link to the supplied dashboard id. If omitted then the link will be global.
         * 
         * @return builder
         * 
         */
        public Builder contextDashboardId(String contextDashboardId) {
            return contextDashboardId(Output.of(contextDashboardId));
        }

        /**
         * @param propertyName Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify `property_name`.
         * 
         * @return builder
         * 
         */
        public Builder propertyName(@Nullable Output propertyName) {
            $.propertyName = propertyName;
            return this;
        }

        /**
         * @param propertyName Name (key) of the metadata that's the trigger of a data link. If you specify `property_value`, you must specify `property_name`.
         * 
         * @return builder
         * 
         */
        public Builder propertyName(String propertyName) {
            return propertyName(Output.of(propertyName));
        }

        /**
         * @param propertyValue Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify `property_name`.
         * 
         * @return builder
         * 
         */
        public Builder propertyValue(@Nullable Output propertyValue) {
            $.propertyValue = propertyValue;
            return this;
        }

        /**
         * @param propertyValue Value of the metadata that's the trigger of a data link. If you specify this property, you must also specify `property_name`.
         * 
         * @return builder
         * 
         */
        public Builder propertyValue(String propertyValue) {
            return propertyValue(Output.of(propertyValue));
        }

        /**
         * @param targetExternalUrls Link to an external URL
         * 
         * @return builder
         * 
         */
        public Builder targetExternalUrls(@Nullable Output> targetExternalUrls) {
            $.targetExternalUrls = targetExternalUrls;
            return this;
        }

        /**
         * @param targetExternalUrls Link to an external URL
         * 
         * @return builder
         * 
         */
        public Builder targetExternalUrls(List targetExternalUrls) {
            return targetExternalUrls(Output.of(targetExternalUrls));
        }

        /**
         * @param targetExternalUrls Link to an external URL
         * 
         * @return builder
         * 
         */
        public Builder targetExternalUrls(DataLinkTargetExternalUrlArgs... targetExternalUrls) {
            return targetExternalUrls(List.of(targetExternalUrls));
        }

        /**
         * @param targetSignalfxDashboards Link to a Splunk Observability Cloud dashboard
         * 
         * @return builder
         * 
         */
        public Builder targetSignalfxDashboards(@Nullable Output> targetSignalfxDashboards) {
            $.targetSignalfxDashboards = targetSignalfxDashboards;
            return this;
        }

        /**
         * @param targetSignalfxDashboards Link to a Splunk Observability Cloud dashboard
         * 
         * @return builder
         * 
         */
        public Builder targetSignalfxDashboards(List targetSignalfxDashboards) {
            return targetSignalfxDashboards(Output.of(targetSignalfxDashboards));
        }

        /**
         * @param targetSignalfxDashboards Link to a Splunk Observability Cloud dashboard
         * 
         * @return builder
         * 
         */
        public Builder targetSignalfxDashboards(DataLinkTargetSignalfxDashboardArgs... targetSignalfxDashboards) {
            return targetSignalfxDashboards(List.of(targetSignalfxDashboards));
        }

        /**
         * @param targetSplunks Link to an external URL
         * 
         * @return builder
         * 
         */
        public Builder targetSplunks(@Nullable Output> targetSplunks) {
            $.targetSplunks = targetSplunks;
            return this;
        }

        /**
         * @param targetSplunks Link to an external URL
         * 
         * @return builder
         * 
         */
        public Builder targetSplunks(List targetSplunks) {
            return targetSplunks(Output.of(targetSplunks));
        }

        /**
         * @param targetSplunks Link to an external URL
         * 
         * @return builder
         * 
         */
        public Builder targetSplunks(DataLinkTargetSplunkArgs... targetSplunks) {
            return targetSplunks(List.of(targetSplunks));
        }

        public DataLinkState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy