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

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

// *** 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.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 DataLinkTargetSplunkArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataLinkTargetSplunkArgs Empty = new DataLinkTargetSplunkArgs();

    /**
     * User-assigned target name. Use this value to differentiate between the link targets for a data link object.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return User-assigned target name. Use this value to differentiate between the link targets for a data link object.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * Describes the relationship between Splunk Observability Cloud metadata keys and external system properties when the key names are different.
     * 
     */
    @Import(name="propertyKeyMapping")
    private @Nullable Output> propertyKeyMapping;

    /**
     * @return Describes the relationship between Splunk Observability Cloud metadata keys and external system properties when the key names are different.
     * 
     */
    public Optional>> propertyKeyMapping() {
        return Optional.ofNullable(this.propertyKeyMapping);
    }

    private DataLinkTargetSplunkArgs() {}

    private DataLinkTargetSplunkArgs(DataLinkTargetSplunkArgs $) {
        this.name = $.name;
        this.propertyKeyMapping = $.propertyKeyMapping;
    }

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

    public static final class Builder {
        private DataLinkTargetSplunkArgs $;

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

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

        /**
         * @param name User-assigned target name. Use this value to differentiate between the link targets for a data link object.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name User-assigned target name. Use this value to differentiate between the link targets for a data link object.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param propertyKeyMapping Describes the relationship between Splunk Observability Cloud metadata keys and external system properties when the key names are different.
         * 
         * @return builder
         * 
         */
        public Builder propertyKeyMapping(@Nullable Output> propertyKeyMapping) {
            $.propertyKeyMapping = propertyKeyMapping;
            return this;
        }

        /**
         * @param propertyKeyMapping Describes the relationship between Splunk Observability Cloud metadata keys and external system properties when the key names are different.
         * 
         * @return builder
         * 
         */
        public Builder propertyKeyMapping(Map propertyKeyMapping) {
            return propertyKeyMapping(Output.of(propertyKeyMapping));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy