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

com.pulumi.azurenative.hybridnetwork.inputs.PublisherPropertiesFormatArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.hybridnetwork.inputs;

import com.pulumi.azurenative.hybridnetwork.enums.PublisherScope;
import com.pulumi.core.Either;
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;


/**
 * publisher properties.
 * 
 */
public final class PublisherPropertiesFormatArgs extends com.pulumi.resources.ResourceArgs {

    public static final PublisherPropertiesFormatArgs Empty = new PublisherPropertiesFormatArgs();

    /**
     * The publisher scope.
     * 
     */
    @Import(name="scope")
    private @Nullable Output> scope;

    /**
     * @return The publisher scope.
     * 
     */
    public Optional>> scope() {
        return Optional.ofNullable(this.scope);
    }

    private PublisherPropertiesFormatArgs() {}

    private PublisherPropertiesFormatArgs(PublisherPropertiesFormatArgs $) {
        this.scope = $.scope;
    }

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

    public static final class Builder {
        private PublisherPropertiesFormatArgs $;

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

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

        /**
         * @param scope The publisher scope.
         * 
         * @return builder
         * 
         */
        public Builder scope(@Nullable Output> scope) {
            $.scope = scope;
            return this;
        }

        /**
         * @param scope The publisher scope.
         * 
         * @return builder
         * 
         */
        public Builder scope(Either scope) {
            return scope(Output.of(scope));
        }

        /**
         * @param scope The publisher scope.
         * 
         * @return builder
         * 
         */
        public Builder scope(String scope) {
            return scope(Either.ofLeft(scope));
        }

        /**
         * @param scope The publisher scope.
         * 
         * @return builder
         * 
         */
        public Builder scope(PublisherScope scope) {
            return scope(Either.ofRight(scope));
        }

        public PublisherPropertiesFormatArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy