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

com.pulumi.azurenative.network.inputs.ServiceEndpointPropertiesFormatArgs Maven / Gradle / Ivy

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

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


/**
 * The service endpoint properties.
 * 
 */
public final class ServiceEndpointPropertiesFormatArgs extends com.pulumi.resources.ResourceArgs {

    public static final ServiceEndpointPropertiesFormatArgs Empty = new ServiceEndpointPropertiesFormatArgs();

    /**
     * A list of locations.
     * 
     */
    @Import(name="locations")
    private @Nullable Output> locations;

    /**
     * @return A list of locations.
     * 
     */
    public Optional>> locations() {
        return Optional.ofNullable(this.locations);
    }

    /**
     * The provisioning state of the resource.
     * 
     */
    @Import(name="provisioningState")
    private @Nullable Output provisioningState;

    /**
     * @return The provisioning state of the resource.
     * 
     */
    public Optional> provisioningState() {
        return Optional.ofNullable(this.provisioningState);
    }

    /**
     * The type of the endpoint service.
     * 
     */
    @Import(name="service")
    private @Nullable Output service;

    /**
     * @return The type of the endpoint service.
     * 
     */
    public Optional> service() {
        return Optional.ofNullable(this.service);
    }

    private ServiceEndpointPropertiesFormatArgs() {}

    private ServiceEndpointPropertiesFormatArgs(ServiceEndpointPropertiesFormatArgs $) {
        this.locations = $.locations;
        this.provisioningState = $.provisioningState;
        this.service = $.service;
    }

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

    public static final class Builder {
        private ServiceEndpointPropertiesFormatArgs $;

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

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

        /**
         * @param locations A list of locations.
         * 
         * @return builder
         * 
         */
        public Builder locations(@Nullable Output> locations) {
            $.locations = locations;
            return this;
        }

        /**
         * @param locations A list of locations.
         * 
         * @return builder
         * 
         */
        public Builder locations(List locations) {
            return locations(Output.of(locations));
        }

        /**
         * @param locations A list of locations.
         * 
         * @return builder
         * 
         */
        public Builder locations(String... locations) {
            return locations(List.of(locations));
        }

        /**
         * @param provisioningState The provisioning state of the resource.
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(@Nullable Output provisioningState) {
            $.provisioningState = provisioningState;
            return this;
        }

        /**
         * @param provisioningState The provisioning state of the resource.
         * 
         * @return builder
         * 
         */
        public Builder provisioningState(String provisioningState) {
            return provisioningState(Output.of(provisioningState));
        }

        /**
         * @param service The type of the endpoint service.
         * 
         * @return builder
         * 
         */
        public Builder service(@Nullable Output service) {
            $.service = service;
            return this;
        }

        /**
         * @param service The type of the endpoint service.
         * 
         * @return builder
         * 
         */
        public Builder service(String service) {
            return service(Output.of(service));
        }

        public ServiceEndpointPropertiesFormatArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy