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

com.pulumi.azurenative.securityinsights.outputs.HuntOwnerResponse 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.securityinsights.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class HuntOwnerResponse {
    /**
     * @return The name of the user the hunt is assigned to.
     * 
     */
    private @Nullable String assignedTo;
    /**
     * @return The email of the user the hunt is assigned to.
     * 
     */
    private @Nullable String email;
    /**
     * @return The object id of the user the hunt is assigned to.
     * 
     */
    private @Nullable String objectId;
    /**
     * @return The type of the owner the hunt is assigned to.
     * 
     */
    private @Nullable String ownerType;
    /**
     * @return The user principal name of the user the hunt is assigned to.
     * 
     */
    private @Nullable String userPrincipalName;

    private HuntOwnerResponse() {}
    /**
     * @return The name of the user the hunt is assigned to.
     * 
     */
    public Optional assignedTo() {
        return Optional.ofNullable(this.assignedTo);
    }
    /**
     * @return The email of the user the hunt is assigned to.
     * 
     */
    public Optional email() {
        return Optional.ofNullable(this.email);
    }
    /**
     * @return The object id of the user the hunt is assigned to.
     * 
     */
    public Optional objectId() {
        return Optional.ofNullable(this.objectId);
    }
    /**
     * @return The type of the owner the hunt is assigned to.
     * 
     */
    public Optional ownerType() {
        return Optional.ofNullable(this.ownerType);
    }
    /**
     * @return The user principal name of the user the hunt is assigned to.
     * 
     */
    public Optional userPrincipalName() {
        return Optional.ofNullable(this.userPrincipalName);
    }

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

    public static Builder builder(HuntOwnerResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String assignedTo;
        private @Nullable String email;
        private @Nullable String objectId;
        private @Nullable String ownerType;
        private @Nullable String userPrincipalName;
        public Builder() {}
        public Builder(HuntOwnerResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.assignedTo = defaults.assignedTo;
    	      this.email = defaults.email;
    	      this.objectId = defaults.objectId;
    	      this.ownerType = defaults.ownerType;
    	      this.userPrincipalName = defaults.userPrincipalName;
        }

        @CustomType.Setter
        public Builder assignedTo(@Nullable String assignedTo) {

            this.assignedTo = assignedTo;
            return this;
        }
        @CustomType.Setter
        public Builder email(@Nullable String email) {

            this.email = email;
            return this;
        }
        @CustomType.Setter
        public Builder objectId(@Nullable String objectId) {

            this.objectId = objectId;
            return this;
        }
        @CustomType.Setter
        public Builder ownerType(@Nullable String ownerType) {

            this.ownerType = ownerType;
            return this;
        }
        @CustomType.Setter
        public Builder userPrincipalName(@Nullable String userPrincipalName) {

            this.userPrincipalName = userPrincipalName;
            return this;
        }
        public HuntOwnerResponse build() {
            final var _resultValue = new HuntOwnerResponse();
            _resultValue.assignedTo = assignedTo;
            _resultValue.email = email;
            _resultValue.objectId = objectId;
            _resultValue.ownerType = ownerType;
            _resultValue.userPrincipalName = userPrincipalName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy