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

com.pulumi.aws.bedrock.inputs.GetCustomModelArgs 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.60.0-alpha.1731982519
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.bedrock.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;


public final class GetCustomModelArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCustomModelArgs Empty = new GetCustomModelArgs();

    /**
     * Name or ARN of the custom model.
     * 
     */
    @Import(name="modelId", required=true)
    private Output modelId;

    /**
     * @return Name or ARN of the custom model.
     * 
     */
    public Output modelId() {
        return this.modelId;
    }

    private GetCustomModelArgs() {}

    private GetCustomModelArgs(GetCustomModelArgs $) {
        this.modelId = $.modelId;
    }

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

    public static final class Builder {
        private GetCustomModelArgs $;

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

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

        /**
         * @param modelId Name or ARN of the custom model.
         * 
         * @return builder
         * 
         */
        public Builder modelId(Output modelId) {
            $.modelId = modelId;
            return this;
        }

        /**
         * @param modelId Name or ARN of the custom model.
         * 
         * @return builder
         * 
         */
        public Builder modelId(String modelId) {
            return modelId(Output.of(modelId));
        }

        public GetCustomModelArgs build() {
            if ($.modelId == null) {
                throw new MissingRequiredPropertyException("GetCustomModelArgs", "modelId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy