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

com.pulumi.azurenative.relay.WCFRelayArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.relay;

import com.pulumi.azurenative.relay.enums.Relaytype;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final WCFRelayArgs Empty = new WCFRelayArgs();

    /**
     * The namespace name
     * 
     */
    @Import(name="namespaceName", required=true)
    private Output namespaceName;

    /**
     * @return The namespace name
     * 
     */
    public Output namespaceName() {
        return this.namespaceName;
    }

    /**
     * The relay name.
     * 
     */
    @Import(name="relayName")
    private @Nullable Output relayName;

    /**
     * @return The relay name.
     * 
     */
    public Optional> relayName() {
        return Optional.ofNullable(this.relayName);
    }

    /**
     * WCF relay type.
     * 
     */
    @Import(name="relayType")
    private @Nullable Output relayType;

    /**
     * @return WCF relay type.
     * 
     */
    public Optional> relayType() {
        return Optional.ofNullable(this.relayType);
    }

    /**
     * Returns true if client authorization is needed for this relay; otherwise, false.
     * 
     */
    @Import(name="requiresClientAuthorization")
    private @Nullable Output requiresClientAuthorization;

    /**
     * @return Returns true if client authorization is needed for this relay; otherwise, false.
     * 
     */
    public Optional> requiresClientAuthorization() {
        return Optional.ofNullable(this.requiresClientAuthorization);
    }

    /**
     * Returns true if transport security is needed for this relay; otherwise, false.
     * 
     */
    @Import(name="requiresTransportSecurity")
    private @Nullable Output requiresTransportSecurity;

    /**
     * @return Returns true if transport security is needed for this relay; otherwise, false.
     * 
     */
    public Optional> requiresTransportSecurity() {
        return Optional.ofNullable(this.requiresTransportSecurity);
    }

    /**
     * Name of the Resource group within the Azure subscription.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return Name of the Resource group within the Azure subscription.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The usermetadata is a placeholder to store user-defined string data for the WCF Relay endpoint. For example, it can be used to store descriptive data, such as list of teams and their contact information. Also, user-defined configuration settings can be stored.
     * 
     */
    @Import(name="userMetadata")
    private @Nullable Output userMetadata;

    /**
     * @return The usermetadata is a placeholder to store user-defined string data for the WCF Relay endpoint. For example, it can be used to store descriptive data, such as list of teams and their contact information. Also, user-defined configuration settings can be stored.
     * 
     */
    public Optional> userMetadata() {
        return Optional.ofNullable(this.userMetadata);
    }

    private WCFRelayArgs() {}

    private WCFRelayArgs(WCFRelayArgs $) {
        this.namespaceName = $.namespaceName;
        this.relayName = $.relayName;
        this.relayType = $.relayType;
        this.requiresClientAuthorization = $.requiresClientAuthorization;
        this.requiresTransportSecurity = $.requiresTransportSecurity;
        this.resourceGroupName = $.resourceGroupName;
        this.userMetadata = $.userMetadata;
    }

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

    public static final class Builder {
        private WCFRelayArgs $;

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

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

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

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

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

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

        /**
         * @param relayType WCF relay type.
         * 
         * @return builder
         * 
         */
        public Builder relayType(@Nullable Output relayType) {
            $.relayType = relayType;
            return this;
        }

        /**
         * @param relayType WCF relay type.
         * 
         * @return builder
         * 
         */
        public Builder relayType(Relaytype relayType) {
            return relayType(Output.of(relayType));
        }

        /**
         * @param requiresClientAuthorization Returns true if client authorization is needed for this relay; otherwise, false.
         * 
         * @return builder
         * 
         */
        public Builder requiresClientAuthorization(@Nullable Output requiresClientAuthorization) {
            $.requiresClientAuthorization = requiresClientAuthorization;
            return this;
        }

        /**
         * @param requiresClientAuthorization Returns true if client authorization is needed for this relay; otherwise, false.
         * 
         * @return builder
         * 
         */
        public Builder requiresClientAuthorization(Boolean requiresClientAuthorization) {
            return requiresClientAuthorization(Output.of(requiresClientAuthorization));
        }

        /**
         * @param requiresTransportSecurity Returns true if transport security is needed for this relay; otherwise, false.
         * 
         * @return builder
         * 
         */
        public Builder requiresTransportSecurity(@Nullable Output requiresTransportSecurity) {
            $.requiresTransportSecurity = requiresTransportSecurity;
            return this;
        }

        /**
         * @param requiresTransportSecurity Returns true if transport security is needed for this relay; otherwise, false.
         * 
         * @return builder
         * 
         */
        public Builder requiresTransportSecurity(Boolean requiresTransportSecurity) {
            return requiresTransportSecurity(Output.of(requiresTransportSecurity));
        }

        /**
         * @param resourceGroupName Name of the Resource group within the Azure subscription.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Name of the Resource group within the Azure subscription.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param userMetadata The usermetadata is a placeholder to store user-defined string data for the WCF Relay endpoint. For example, it can be used to store descriptive data, such as list of teams and their contact information. Also, user-defined configuration settings can be stored.
         * 
         * @return builder
         * 
         */
        public Builder userMetadata(@Nullable Output userMetadata) {
            $.userMetadata = userMetadata;
            return this;
        }

        /**
         * @param userMetadata The usermetadata is a placeholder to store user-defined string data for the WCF Relay endpoint. For example, it can be used to store descriptive data, such as list of teams and their contact information. Also, user-defined configuration settings can be stored.
         * 
         * @return builder
         * 
         */
        public Builder userMetadata(String userMetadata) {
            return userMetadata(Output.of(userMetadata));
        }

        public WCFRelayArgs build() {
            if ($.namespaceName == null) {
                throw new MissingRequiredPropertyException("WCFRelayArgs", "namespaceName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("WCFRelayArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy