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

com.pulumi.azurenative.customerinsights.inputs.GetImageUploadUrlForDataArgs Maven / Gradle / Ivy

// *** 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.customerinsights.inputs;

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 GetImageUploadUrlForDataArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetImageUploadUrlForDataArgs Empty = new GetImageUploadUrlForDataArgs();

    /**
     * Type of entity. Can be Profile or Interaction.
     * 
     */
    @Import(name="entityType")
    private @Nullable Output entityType;

    /**
     * @return Type of entity. Can be Profile or Interaction.
     * 
     */
    public Optional> entityType() {
        return Optional.ofNullable(this.entityType);
    }

    /**
     * Name of the entity type.
     * 
     */
    @Import(name="entityTypeName")
    private @Nullable Output entityTypeName;

    /**
     * @return Name of the entity type.
     * 
     */
    public Optional> entityTypeName() {
        return Optional.ofNullable(this.entityTypeName);
    }

    /**
     * The name of the hub.
     * 
     */
    @Import(name="hubName", required=true)
    private Output hubName;

    /**
     * @return The name of the hub.
     * 
     */
    public Output hubName() {
        return this.hubName;
    }

    /**
     * Relative path of the image.
     * 
     */
    @Import(name="relativePath")
    private @Nullable Output relativePath;

    /**
     * @return Relative path of the image.
     * 
     */
    public Optional> relativePath() {
        return Optional.ofNullable(this.relativePath);
    }

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

    /**
     * @return The name of the resource group.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetImageUploadUrlForDataArgs() {}

    private GetImageUploadUrlForDataArgs(GetImageUploadUrlForDataArgs $) {
        this.entityType = $.entityType;
        this.entityTypeName = $.entityTypeName;
        this.hubName = $.hubName;
        this.relativePath = $.relativePath;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetImageUploadUrlForDataArgs $;

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

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

        /**
         * @param entityType Type of entity. Can be Profile or Interaction.
         * 
         * @return builder
         * 
         */
        public Builder entityType(@Nullable Output entityType) {
            $.entityType = entityType;
            return this;
        }

        /**
         * @param entityType Type of entity. Can be Profile or Interaction.
         * 
         * @return builder
         * 
         */
        public Builder entityType(String entityType) {
            return entityType(Output.of(entityType));
        }

        /**
         * @param entityTypeName Name of the entity type.
         * 
         * @return builder
         * 
         */
        public Builder entityTypeName(@Nullable Output entityTypeName) {
            $.entityTypeName = entityTypeName;
            return this;
        }

        /**
         * @param entityTypeName Name of the entity type.
         * 
         * @return builder
         * 
         */
        public Builder entityTypeName(String entityTypeName) {
            return entityTypeName(Output.of(entityTypeName));
        }

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

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

        /**
         * @param relativePath Relative path of the image.
         * 
         * @return builder
         * 
         */
        public Builder relativePath(@Nullable Output relativePath) {
            $.relativePath = relativePath;
            return this;
        }

        /**
         * @param relativePath Relative path of the image.
         * 
         * @return builder
         * 
         */
        public Builder relativePath(String relativePath) {
            return relativePath(Output.of(relativePath));
        }

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy