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

com.pulumi.azurenative.domainregistration.DomainOwnershipIdentifierArgs 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.domainregistration;

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 DomainOwnershipIdentifierArgs extends com.pulumi.resources.ResourceArgs {

    public static final DomainOwnershipIdentifierArgs Empty = new DomainOwnershipIdentifierArgs();

    /**
     * Name of domain.
     * 
     */
    @Import(name="domainName", required=true)
    private Output domainName;

    /**
     * @return Name of domain.
     * 
     */
    public Output domainName() {
        return this.domainName;
    }

    /**
     * Kind of resource.
     * 
     */
    @Import(name="kind")
    private @Nullable Output kind;

    /**
     * @return Kind of resource.
     * 
     */
    public Optional> kind() {
        return Optional.ofNullable(this.kind);
    }

    /**
     * Name of identifier.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of identifier.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Ownership Id.
     * 
     */
    @Import(name="ownershipId")
    private @Nullable Output ownershipId;

    /**
     * @return Ownership Id.
     * 
     */
    public Optional> ownershipId() {
        return Optional.ofNullable(this.ownershipId);
    }

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

    /**
     * @return Name of the resource group to which the resource belongs.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private DomainOwnershipIdentifierArgs() {}

    private DomainOwnershipIdentifierArgs(DomainOwnershipIdentifierArgs $) {
        this.domainName = $.domainName;
        this.kind = $.kind;
        this.name = $.name;
        this.ownershipId = $.ownershipId;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private DomainOwnershipIdentifierArgs $;

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

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

        /**
         * @param domainName Name of domain.
         * 
         * @return builder
         * 
         */
        public Builder domainName(Output domainName) {
            $.domainName = domainName;
            return this;
        }

        /**
         * @param domainName Name of domain.
         * 
         * @return builder
         * 
         */
        public Builder domainName(String domainName) {
            return domainName(Output.of(domainName));
        }

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

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

        /**
         * @param name Name of identifier.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of identifier.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param ownershipId Ownership Id.
         * 
         * @return builder
         * 
         */
        public Builder ownershipId(@Nullable Output ownershipId) {
            $.ownershipId = ownershipId;
            return this;
        }

        /**
         * @param ownershipId Ownership Id.
         * 
         * @return builder
         * 
         */
        public Builder ownershipId(String ownershipId) {
            return ownershipId(Output.of(ownershipId));
        }

        /**
         * @param resourceGroupName Name of the resource group to which the resource belongs.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Name of the resource group to which the resource belongs.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy