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

com.pulumi.azurenative.web.inputs.ApiConnectionDefinitionPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.azurenative.web.inputs;

import com.pulumi.azurenative.web.inputs.ApiConnectionTestLinkArgs;
import com.pulumi.azurenative.web.inputs.ApiReferenceArgs;
import com.pulumi.azurenative.web.inputs.ConnectionStatusDefinitionArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ApiConnectionDefinitionPropertiesArgs Empty = new ApiConnectionDefinitionPropertiesArgs();

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

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

    /**
     * Timestamp of last connection change
     * 
     */
    @Import(name="changedTime")
    private @Nullable Output changedTime;

    /**
     * @return Timestamp of last connection change
     * 
     */
    public Optional> changedTime() {
        return Optional.ofNullable(this.changedTime);
    }

    /**
     * Timestamp of the connection creation
     * 
     */
    @Import(name="createdTime")
    private @Nullable Output createdTime;

    /**
     * @return Timestamp of the connection creation
     * 
     */
    public Optional> createdTime() {
        return Optional.ofNullable(this.createdTime);
    }

    /**
     * Dictionary of custom parameter values
     * 
     */
    @Import(name="customParameterValues")
    private @Nullable Output> customParameterValues;

    /**
     * @return Dictionary of custom parameter values
     * 
     */
    public Optional>> customParameterValues() {
        return Optional.ofNullable(this.customParameterValues);
    }

    /**
     * Display name
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return Display name
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * Dictionary of nonsecret parameter values
     * 
     */
    @Import(name="nonSecretParameterValues")
    private @Nullable Output> nonSecretParameterValues;

    /**
     * @return Dictionary of nonsecret parameter values
     * 
     */
    public Optional>> nonSecretParameterValues() {
        return Optional.ofNullable(this.nonSecretParameterValues);
    }

    /**
     * Dictionary of parameter values
     * 
     */
    @Import(name="parameterValues")
    private @Nullable Output> parameterValues;

    /**
     * @return Dictionary of parameter values
     * 
     */
    public Optional>> parameterValues() {
        return Optional.ofNullable(this.parameterValues);
    }

    /**
     * Status of the connection
     * 
     */
    @Import(name="statuses")
    private @Nullable Output> statuses;

    /**
     * @return Status of the connection
     * 
     */
    public Optional>> statuses() {
        return Optional.ofNullable(this.statuses);
    }

    /**
     * Links to test the API connection
     * 
     */
    @Import(name="testLinks")
    private @Nullable Output> testLinks;

    /**
     * @return Links to test the API connection
     * 
     */
    public Optional>> testLinks() {
        return Optional.ofNullable(this.testLinks);
    }

    private ApiConnectionDefinitionPropertiesArgs() {}

    private ApiConnectionDefinitionPropertiesArgs(ApiConnectionDefinitionPropertiesArgs $) {
        this.api = $.api;
        this.changedTime = $.changedTime;
        this.createdTime = $.createdTime;
        this.customParameterValues = $.customParameterValues;
        this.displayName = $.displayName;
        this.nonSecretParameterValues = $.nonSecretParameterValues;
        this.parameterValues = $.parameterValues;
        this.statuses = $.statuses;
        this.testLinks = $.testLinks;
    }

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

    public static final class Builder {
        private ApiConnectionDefinitionPropertiesArgs $;

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

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

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

        public Builder api(ApiReferenceArgs api) {
            return api(Output.of(api));
        }

        /**
         * @param changedTime Timestamp of last connection change
         * 
         * @return builder
         * 
         */
        public Builder changedTime(@Nullable Output changedTime) {
            $.changedTime = changedTime;
            return this;
        }

        /**
         * @param changedTime Timestamp of last connection change
         * 
         * @return builder
         * 
         */
        public Builder changedTime(String changedTime) {
            return changedTime(Output.of(changedTime));
        }

        /**
         * @param createdTime Timestamp of the connection creation
         * 
         * @return builder
         * 
         */
        public Builder createdTime(@Nullable Output createdTime) {
            $.createdTime = createdTime;
            return this;
        }

        /**
         * @param createdTime Timestamp of the connection creation
         * 
         * @return builder
         * 
         */
        public Builder createdTime(String createdTime) {
            return createdTime(Output.of(createdTime));
        }

        /**
         * @param customParameterValues Dictionary of custom parameter values
         * 
         * @return builder
         * 
         */
        public Builder customParameterValues(@Nullable Output> customParameterValues) {
            $.customParameterValues = customParameterValues;
            return this;
        }

        /**
         * @param customParameterValues Dictionary of custom parameter values
         * 
         * @return builder
         * 
         */
        public Builder customParameterValues(Map customParameterValues) {
            return customParameterValues(Output.of(customParameterValues));
        }

        /**
         * @param displayName Display name
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName Display name
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param nonSecretParameterValues Dictionary of nonsecret parameter values
         * 
         * @return builder
         * 
         */
        public Builder nonSecretParameterValues(@Nullable Output> nonSecretParameterValues) {
            $.nonSecretParameterValues = nonSecretParameterValues;
            return this;
        }

        /**
         * @param nonSecretParameterValues Dictionary of nonsecret parameter values
         * 
         * @return builder
         * 
         */
        public Builder nonSecretParameterValues(Map nonSecretParameterValues) {
            return nonSecretParameterValues(Output.of(nonSecretParameterValues));
        }

        /**
         * @param parameterValues Dictionary of parameter values
         * 
         * @return builder
         * 
         */
        public Builder parameterValues(@Nullable Output> parameterValues) {
            $.parameterValues = parameterValues;
            return this;
        }

        /**
         * @param parameterValues Dictionary of parameter values
         * 
         * @return builder
         * 
         */
        public Builder parameterValues(Map parameterValues) {
            return parameterValues(Output.of(parameterValues));
        }

        /**
         * @param statuses Status of the connection
         * 
         * @return builder
         * 
         */
        public Builder statuses(@Nullable Output> statuses) {
            $.statuses = statuses;
            return this;
        }

        /**
         * @param statuses Status of the connection
         * 
         * @return builder
         * 
         */
        public Builder statuses(List statuses) {
            return statuses(Output.of(statuses));
        }

        /**
         * @param statuses Status of the connection
         * 
         * @return builder
         * 
         */
        public Builder statuses(ConnectionStatusDefinitionArgs... statuses) {
            return statuses(List.of(statuses));
        }

        /**
         * @param testLinks Links to test the API connection
         * 
         * @return builder
         * 
         */
        public Builder testLinks(@Nullable Output> testLinks) {
            $.testLinks = testLinks;
            return this;
        }

        /**
         * @param testLinks Links to test the API connection
         * 
         * @return builder
         * 
         */
        public Builder testLinks(List testLinks) {
            return testLinks(Output.of(testLinks));
        }

        /**
         * @param testLinks Links to test the API connection
         * 
         * @return builder
         * 
         */
        public Builder testLinks(ApiConnectionTestLinkArgs... testLinks) {
            return testLinks(List.of(testLinks));
        }

        public ApiConnectionDefinitionPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy