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

com.pulumi.azurenative.automanage.inputs.AccountIdentityArgs Maven / Gradle / Ivy

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

import com.pulumi.azurenative.automanage.enums.ResourceIdentityType;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Identity for the Automanage account.
 * 
 */
public final class AccountIdentityArgs extends com.pulumi.resources.ResourceArgs {

    public static final AccountIdentityArgs Empty = new AccountIdentityArgs();

    /**
     * The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private AccountIdentityArgs() {}

    private AccountIdentityArgs(AccountIdentityArgs $) {
        this.type = $.type;
    }

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

    public static final class Builder {
        private AccountIdentityArgs $;

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

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

        /**
         * @param type The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity.
         * 
         * @return builder
         * 
         */
        public Builder type(ResourceIdentityType type) {
            return type(Output.of(type));
        }

        public AccountIdentityArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy