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

com.pulumi.azurenative.compute.inputs.GetProximityPlacementGroupArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.compute.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 GetProximityPlacementGroupArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetProximityPlacementGroupArgs Empty = new GetProximityPlacementGroupArgs();

    /**
     * includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.
     * 
     */
    @Import(name="includeColocationStatus")
    private @Nullable Output includeColocationStatus;

    /**
     * @return includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.
     * 
     */
    public Optional> includeColocationStatus() {
        return Optional.ofNullable(this.includeColocationStatus);
    }

    /**
     * The name of the proximity placement group.
     * 
     */
    @Import(name="proximityPlacementGroupName", required=true)
    private Output proximityPlacementGroupName;

    /**
     * @return The name of the proximity placement group.
     * 
     */
    public Output proximityPlacementGroupName() {
        return this.proximityPlacementGroupName;
    }

    /**
     * The name of the resource group.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetProximityPlacementGroupArgs() {}

    private GetProximityPlacementGroupArgs(GetProximityPlacementGroupArgs $) {
        this.includeColocationStatus = $.includeColocationStatus;
        this.proximityPlacementGroupName = $.proximityPlacementGroupName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetProximityPlacementGroupArgs $;

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

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

        /**
         * @param includeColocationStatus includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.
         * 
         * @return builder
         * 
         */
        public Builder includeColocationStatus(@Nullable Output includeColocationStatus) {
            $.includeColocationStatus = includeColocationStatus;
            return this;
        }

        /**
         * @param includeColocationStatus includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.
         * 
         * @return builder
         * 
         */
        public Builder includeColocationStatus(String includeColocationStatus) {
            return includeColocationStatus(Output.of(includeColocationStatus));
        }

        /**
         * @param proximityPlacementGroupName The name of the proximity placement group.
         * 
         * @return builder
         * 
         */
        public Builder proximityPlacementGroupName(Output proximityPlacementGroupName) {
            $.proximityPlacementGroupName = proximityPlacementGroupName;
            return this;
        }

        /**
         * @param proximityPlacementGroupName The name of the proximity placement group.
         * 
         * @return builder
         * 
         */
        public Builder proximityPlacementGroupName(String proximityPlacementGroupName) {
            return proximityPlacementGroupName(Output.of(proximityPlacementGroupName));
        }

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

        /**
         * @param resourceGroupName The name of the resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy