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

com.pulumi.azurenative.apimanagement.inputs.ApiContactInformationArgs 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.azurenative.apimanagement.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * API contact information
 * 
 */
public final class ApiContactInformationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApiContactInformationArgs Empty = new ApiContactInformationArgs();

    /**
     * The email address of the contact person/organization. MUST be in the format of an email address
     * 
     */
    @Import(name="email")
    private @Nullable Output email;

    /**
     * @return The email address of the contact person/organization. MUST be in the format of an email address
     * 
     */
    public Optional> email() {
        return Optional.ofNullable(this.email);
    }

    /**
     * The identifying name of the contact person/organization
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The identifying name of the contact person/organization
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The URL pointing to the contact information. MUST be in the format of a URL
     * 
     */
    @Import(name="url")
    private @Nullable Output url;

    /**
     * @return The URL pointing to the contact information. MUST be in the format of a URL
     * 
     */
    public Optional> url() {
        return Optional.ofNullable(this.url);
    }

    private ApiContactInformationArgs() {}

    private ApiContactInformationArgs(ApiContactInformationArgs $) {
        this.email = $.email;
        this.name = $.name;
        this.url = $.url;
    }

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

    public static final class Builder {
        private ApiContactInformationArgs $;

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

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

        /**
         * @param email The email address of the contact person/organization. MUST be in the format of an email address
         * 
         * @return builder
         * 
         */
        public Builder email(@Nullable Output email) {
            $.email = email;
            return this;
        }

        /**
         * @param email The email address of the contact person/organization. MUST be in the format of an email address
         * 
         * @return builder
         * 
         */
        public Builder email(String email) {
            return email(Output.of(email));
        }

        /**
         * @param name The identifying name of the contact person/organization
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The identifying name of the contact person/organization
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param url The URL pointing to the contact information. MUST be in the format of a URL
         * 
         * @return builder
         * 
         */
        public Builder url(@Nullable Output url) {
            $.url = url;
            return this;
        }

        /**
         * @param url The URL pointing to the contact information. MUST be in the format of a URL
         * 
         * @return builder
         * 
         */
        public Builder url(String url) {
            return url(Output.of(url));
        }

        public ApiContactInformationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy