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

com.pulumi.azurenative.securityinsights.inputs.ClientInfoArgs 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.securityinsights.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;


/**
 * Information on the client (user or application) that made some action
 * 
 */
public final class ClientInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final ClientInfoArgs Empty = new ClientInfoArgs();

    /**
     * The email of the client.
     * 
     */
    @Import(name="email")
    private @Nullable Output email;

    /**
     * @return The email of the client.
     * 
     */
    public Optional> email() {
        return Optional.ofNullable(this.email);
    }

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

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

    /**
     * The object id of the client.
     * 
     */
    @Import(name="objectId")
    private @Nullable Output objectId;

    /**
     * @return The object id of the client.
     * 
     */
    public Optional> objectId() {
        return Optional.ofNullable(this.objectId);
    }

    /**
     * The user principal name of the client.
     * 
     */
    @Import(name="userPrincipalName")
    private @Nullable Output userPrincipalName;

    /**
     * @return The user principal name of the client.
     * 
     */
    public Optional> userPrincipalName() {
        return Optional.ofNullable(this.userPrincipalName);
    }

    private ClientInfoArgs() {}

    private ClientInfoArgs(ClientInfoArgs $) {
        this.email = $.email;
        this.name = $.name;
        this.objectId = $.objectId;
        this.userPrincipalName = $.userPrincipalName;
    }

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

    public static final class Builder {
        private ClientInfoArgs $;

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

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

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

        /**
         * @param email The email of the client.
         * 
         * @return builder
         * 
         */
        public Builder email(String email) {
            return email(Output.of(email));
        }

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

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

        /**
         * @param objectId The object id of the client.
         * 
         * @return builder
         * 
         */
        public Builder objectId(@Nullable Output objectId) {
            $.objectId = objectId;
            return this;
        }

        /**
         * @param objectId The object id of the client.
         * 
         * @return builder
         * 
         */
        public Builder objectId(String objectId) {
            return objectId(Output.of(objectId));
        }

        /**
         * @param userPrincipalName The user principal name of the client.
         * 
         * @return builder
         * 
         */
        public Builder userPrincipalName(@Nullable Output userPrincipalName) {
            $.userPrincipalName = userPrincipalName;
            return this;
        }

        /**
         * @param userPrincipalName The user principal name of the client.
         * 
         * @return builder
         * 
         */
        public Builder userPrincipalName(String userPrincipalName) {
            return userPrincipalName(Output.of(userPrincipalName));
        }

        public ClientInfoArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy