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

com.pulumi.azurenative.awsconnector.inputs.ResourceSpecArgs 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.awsconnector.inputs;

import com.pulumi.azurenative.awsconnector.enums.ResourceSpecInstanceType;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of ResourceSpec
 * 
 */
public final class ResourceSpecArgs extends com.pulumi.resources.ResourceArgs {

    public static final ResourceSpecArgs Empty = new ResourceSpecArgs();

    /**
     * The instance type that the image version runs on.
     * 
     */
    @Import(name="instanceType")
    private @Nullable Output> instanceType;

    /**
     * @return The instance type that the image version runs on.
     * 
     */
    public Optional>> instanceType() {
        return Optional.ofNullable(this.instanceType);
    }

    /**
     * The ARN of the SageMaker image that the image version belongs to.
     * 
     */
    @Import(name="sageMakerImageArn")
    private @Nullable Output sageMakerImageArn;

    /**
     * @return The ARN of the SageMaker image that the image version belongs to.
     * 
     */
    public Optional> sageMakerImageArn() {
        return Optional.ofNullable(this.sageMakerImageArn);
    }

    /**
     * The ARN of the image version created on the instance.
     * 
     */
    @Import(name="sageMakerImageVersionArn")
    private @Nullable Output sageMakerImageVersionArn;

    /**
     * @return The ARN of the image version created on the instance.
     * 
     */
    public Optional> sageMakerImageVersionArn() {
        return Optional.ofNullable(this.sageMakerImageVersionArn);
    }

    private ResourceSpecArgs() {}

    private ResourceSpecArgs(ResourceSpecArgs $) {
        this.instanceType = $.instanceType;
        this.sageMakerImageArn = $.sageMakerImageArn;
        this.sageMakerImageVersionArn = $.sageMakerImageVersionArn;
    }

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

    public static final class Builder {
        private ResourceSpecArgs $;

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

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

        /**
         * @param instanceType The instance type that the image version runs on.
         * 
         * @return builder
         * 
         */
        public Builder instanceType(@Nullable Output> instanceType) {
            $.instanceType = instanceType;
            return this;
        }

        /**
         * @param instanceType The instance type that the image version runs on.
         * 
         * @return builder
         * 
         */
        public Builder instanceType(Either instanceType) {
            return instanceType(Output.of(instanceType));
        }

        /**
         * @param instanceType The instance type that the image version runs on.
         * 
         * @return builder
         * 
         */
        public Builder instanceType(String instanceType) {
            return instanceType(Either.ofLeft(instanceType));
        }

        /**
         * @param instanceType The instance type that the image version runs on.
         * 
         * @return builder
         * 
         */
        public Builder instanceType(ResourceSpecInstanceType instanceType) {
            return instanceType(Either.ofRight(instanceType));
        }

        /**
         * @param sageMakerImageArn The ARN of the SageMaker image that the image version belongs to.
         * 
         * @return builder
         * 
         */
        public Builder sageMakerImageArn(@Nullable Output sageMakerImageArn) {
            $.sageMakerImageArn = sageMakerImageArn;
            return this;
        }

        /**
         * @param sageMakerImageArn The ARN of the SageMaker image that the image version belongs to.
         * 
         * @return builder
         * 
         */
        public Builder sageMakerImageArn(String sageMakerImageArn) {
            return sageMakerImageArn(Output.of(sageMakerImageArn));
        }

        /**
         * @param sageMakerImageVersionArn The ARN of the image version created on the instance.
         * 
         * @return builder
         * 
         */
        public Builder sageMakerImageVersionArn(@Nullable Output sageMakerImageVersionArn) {
            $.sageMakerImageVersionArn = sageMakerImageVersionArn;
            return this;
        }

        /**
         * @param sageMakerImageVersionArn The ARN of the image version created on the instance.
         * 
         * @return builder
         * 
         */
        public Builder sageMakerImageVersionArn(String sageMakerImageVersionArn) {
            return sageMakerImageVersionArn(Output.of(sageMakerImageVersionArn));
        }

        public ResourceSpecArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy