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

com.pulumi.azurenative.subscription.inputs.TargetDirectoryRequestPropertiesArgs Maven / Gradle / Ivy

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

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;


/**
 * Properties of subscription Request for Changed Target Directory.
 * 
 */
public final class TargetDirectoryRequestPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final TargetDirectoryRequestPropertiesArgs Empty = new TargetDirectoryRequestPropertiesArgs();

    /**
     * The destination OwnerId, can be object id or email address
     * 
     */
    @Import(name="destinationOwnerId")
    private @Nullable Output destinationOwnerId;

    /**
     * @return The destination OwnerId, can be object id or email address
     * 
     */
    public Optional> destinationOwnerId() {
        return Optional.ofNullable(this.destinationOwnerId);
    }

    /**
     * The destination Tenant id where subscription needs to be accepted
     * 
     */
    @Import(name="destinationTenantId")
    private @Nullable Output destinationTenantId;

    /**
     * @return The destination Tenant id where subscription needs to be accepted
     * 
     */
    public Optional> destinationTenantId() {
        return Optional.ofNullable(this.destinationTenantId);
    }

    private TargetDirectoryRequestPropertiesArgs() {}

    private TargetDirectoryRequestPropertiesArgs(TargetDirectoryRequestPropertiesArgs $) {
        this.destinationOwnerId = $.destinationOwnerId;
        this.destinationTenantId = $.destinationTenantId;
    }

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

    public static final class Builder {
        private TargetDirectoryRequestPropertiesArgs $;

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

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

        /**
         * @param destinationOwnerId The destination OwnerId, can be object id or email address
         * 
         * @return builder
         * 
         */
        public Builder destinationOwnerId(@Nullable Output destinationOwnerId) {
            $.destinationOwnerId = destinationOwnerId;
            return this;
        }

        /**
         * @param destinationOwnerId The destination OwnerId, can be object id or email address
         * 
         * @return builder
         * 
         */
        public Builder destinationOwnerId(String destinationOwnerId) {
            return destinationOwnerId(Output.of(destinationOwnerId));
        }

        /**
         * @param destinationTenantId The destination Tenant id where subscription needs to be accepted
         * 
         * @return builder
         * 
         */
        public Builder destinationTenantId(@Nullable Output destinationTenantId) {
            $.destinationTenantId = destinationTenantId;
            return this;
        }

        /**
         * @param destinationTenantId The destination Tenant id where subscription needs to be accepted
         * 
         * @return builder
         * 
         */
        public Builder destinationTenantId(String destinationTenantId) {
            return destinationTenantId(Output.of(destinationTenantId));
        }

        public TargetDirectoryRequestPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy