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

com.pulumi.azurenative.securityandcompliance.PrivateLinkServicesForMIPPolicySyncArgs Maven / Gradle / Ivy

The 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.securityandcompliance;

import com.pulumi.azurenative.securityandcompliance.enums.Kind;
import com.pulumi.azurenative.securityandcompliance.inputs.ServicesPropertiesArgs;
import com.pulumi.azurenative.securityandcompliance.inputs.ServicesResourceIdentityArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final PrivateLinkServicesForMIPPolicySyncArgs Empty = new PrivateLinkServicesForMIPPolicySyncArgs();

    /**
     * Setting indicating whether the service has a managed identity associated with it.
     * 
     */
    @Import(name="identity")
    private @Nullable Output identity;

    /**
     * @return Setting indicating whether the service has a managed identity associated with it.
     * 
     */
    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * The kind of the service.
     * 
     */
    @Import(name="kind", required=true)
    private Output kind;

    /**
     * @return The kind of the service.
     * 
     */
    public Output kind() {
        return this.kind;
    }

    /**
     * The resource location.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

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

    /**
     * The common properties of a service.
     * 
     */
    @Import(name="properties")
    private @Nullable Output properties;

    /**
     * @return The common properties of a service.
     * 
     */
    public Optional> properties() {
        return Optional.ofNullable(this.properties);
    }

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

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

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

    /**
     * @return The name of the service instance.
     * 
     */
    public Optional> resourceName() {
        return Optional.ofNullable(this.resourceName);
    }

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

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

    private PrivateLinkServicesForMIPPolicySyncArgs() {}

    private PrivateLinkServicesForMIPPolicySyncArgs(PrivateLinkServicesForMIPPolicySyncArgs $) {
        this.identity = $.identity;
        this.kind = $.kind;
        this.location = $.location;
        this.properties = $.properties;
        this.resourceGroupName = $.resourceGroupName;
        this.resourceName = $.resourceName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private PrivateLinkServicesForMIPPolicySyncArgs $;

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

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

        /**
         * @param identity Setting indicating whether the service has a managed identity associated with it.
         * 
         * @return builder
         * 
         */
        public Builder identity(@Nullable Output identity) {
            $.identity = identity;
            return this;
        }

        /**
         * @param identity Setting indicating whether the service has a managed identity associated with it.
         * 
         * @return builder
         * 
         */
        public Builder identity(ServicesResourceIdentityArgs identity) {
            return identity(Output.of(identity));
        }

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

        /**
         * @param kind The kind of the service.
         * 
         * @return builder
         * 
         */
        public Builder kind(Kind kind) {
            return kind(Output.of(kind));
        }

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

        /**
         * @param location The resource location.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param properties The common properties of a service.
         * 
         * @return builder
         * 
         */
        public Builder properties(@Nullable Output properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties The common properties of a service.
         * 
         * @return builder
         * 
         */
        public Builder properties(ServicesPropertiesArgs properties) {
            return properties(Output.of(properties));
        }

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

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

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

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

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

        /**
         * @param tags The resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy