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

com.pulumi.azure.apimanagement.inputs.ApiOperationRequestRepresentationExampleArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.apimanagement.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;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ApiOperationRequestRepresentationExampleArgs Empty = new ApiOperationRequestRepresentationExampleArgs();

    /**
     * A long description for this example.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return A long description for this example.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * A URL that points to the literal example.
     * 
     */
    @Import(name="externalValue")
    private @Nullable Output externalValue;

    /**
     * @return A URL that points to the literal example.
     * 
     */
    public Optional> externalValue() {
        return Optional.ofNullable(this.externalValue);
    }

    /**
     * The name of this example.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name of this example.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * A short description for this example.
     * 
     */
    @Import(name="summary")
    private @Nullable Output summary;

    /**
     * @return A short description for this example.
     * 
     */
    public Optional> summary() {
        return Optional.ofNullable(this.summary);
    }

    /**
     * The example of the representation.
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return The example of the representation.
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private ApiOperationRequestRepresentationExampleArgs() {}

    private ApiOperationRequestRepresentationExampleArgs(ApiOperationRequestRepresentationExampleArgs $) {
        this.description = $.description;
        this.externalValue = $.externalValue;
        this.name = $.name;
        this.summary = $.summary;
        this.value = $.value;
    }

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

    public static final class Builder {
        private ApiOperationRequestRepresentationExampleArgs $;

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

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

        /**
         * @param description A long description for this example.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description A long description for this example.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param externalValue A URL that points to the literal example.
         * 
         * @return builder
         * 
         */
        public Builder externalValue(@Nullable Output externalValue) {
            $.externalValue = externalValue;
            return this;
        }

        /**
         * @param externalValue A URL that points to the literal example.
         * 
         * @return builder
         * 
         */
        public Builder externalValue(String externalValue) {
            return externalValue(Output.of(externalValue));
        }

        /**
         * @param name The name of this example.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of this example.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param summary A short description for this example.
         * 
         * @return builder
         * 
         */
        public Builder summary(@Nullable Output summary) {
            $.summary = summary;
            return this;
        }

        /**
         * @param summary A short description for this example.
         * 
         * @return builder
         * 
         */
        public Builder summary(String summary) {
            return summary(Output.of(summary));
        }

        /**
         * @param value The example of the representation.
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value The example of the representation.
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy