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

com.pulumi.aws.sagemaker.ProjectArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.72.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.aws.sagemaker;

import com.pulumi.aws.sagemaker.inputs.ProjectServiceCatalogProvisioningDetailsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ProjectArgs extends com.pulumi.resources.ResourceArgs {

    public static final ProjectArgs Empty = new ProjectArgs();

    /**
     * A description for the project.
     * 
     */
    @Import(name="projectDescription")
    private @Nullable Output projectDescription;

    /**
     * @return A description for the project.
     * 
     */
    public Optional> projectDescription() {
        return Optional.ofNullable(this.projectDescription);
    }

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

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

    /**
     * The product ID and provisioning artifact ID to provision a service catalog. See Service Catalog Provisioning Details below.
     * 
     */
    @Import(name="serviceCatalogProvisioningDetails", required=true)
    private Output serviceCatalogProvisioningDetails;

    /**
     * @return The product ID and provisioning artifact ID to provision a service catalog. See Service Catalog Provisioning Details below.
     * 
     */
    public Output serviceCatalogProvisioningDetails() {
        return this.serviceCatalogProvisioningDetails;
    }

    /**
     * A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private ProjectArgs() {}

    private ProjectArgs(ProjectArgs $) {
        this.projectDescription = $.projectDescription;
        this.projectName = $.projectName;
        this.serviceCatalogProvisioningDetails = $.serviceCatalogProvisioningDetails;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private ProjectArgs $;

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

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

        /**
         * @param projectDescription A description for the project.
         * 
         * @return builder
         * 
         */
        public Builder projectDescription(@Nullable Output projectDescription) {
            $.projectDescription = projectDescription;
            return this;
        }

        /**
         * @param projectDescription A description for the project.
         * 
         * @return builder
         * 
         */
        public Builder projectDescription(String projectDescription) {
            return projectDescription(Output.of(projectDescription));
        }

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

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

        /**
         * @param serviceCatalogProvisioningDetails The product ID and provisioning artifact ID to provision a service catalog. See Service Catalog Provisioning Details below.
         * 
         * @return builder
         * 
         */
        public Builder serviceCatalogProvisioningDetails(Output serviceCatalogProvisioningDetails) {
            $.serviceCatalogProvisioningDetails = serviceCatalogProvisioningDetails;
            return this;
        }

        /**
         * @param serviceCatalogProvisioningDetails The product ID and provisioning artifact ID to provision a service catalog. See Service Catalog Provisioning Details below.
         * 
         * @return builder
         * 
         */
        public Builder serviceCatalogProvisioningDetails(ProjectServiceCatalogProvisioningDetailsArgs serviceCatalogProvisioningDetails) {
            return serviceCatalogProvisioningDetails(Output.of(serviceCatalogProvisioningDetails));
        }

        /**
         * @param tags A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public ProjectArgs build() {
            if ($.projectName == null) {
                throw new MissingRequiredPropertyException("ProjectArgs", "projectName");
            }
            if ($.serviceCatalogProvisioningDetails == null) {
                throw new MissingRequiredPropertyException("ProjectArgs", "serviceCatalogProvisioningDetails");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy