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

com.pulumi.aws.sagemaker.ModelPackageGroupArgs 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.66.3
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.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 ModelPackageGroupArgs extends com.pulumi.resources.ResourceArgs {

    public static final ModelPackageGroupArgs Empty = new ModelPackageGroupArgs();

    /**
     * A description for the model group.
     * 
     */
    @Import(name="modelPackageGroupDescription")
    private @Nullable Output modelPackageGroupDescription;

    /**
     * @return A description for the model group.
     * 
     */
    public Optional> modelPackageGroupDescription() {
        return Optional.ofNullable(this.modelPackageGroupDescription);
    }

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

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

    /**
     * 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 ModelPackageGroupArgs() {}

    private ModelPackageGroupArgs(ModelPackageGroupArgs $) {
        this.modelPackageGroupDescription = $.modelPackageGroupDescription;
        this.modelPackageGroupName = $.modelPackageGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private ModelPackageGroupArgs $;

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

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

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

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

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

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

        /**
         * @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 ModelPackageGroupArgs build() {
            if ($.modelPackageGroupName == null) {
                throw new MissingRequiredPropertyException("ModelPackageGroupArgs", "modelPackageGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy