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

com.pulumi.aws.outposts.inputs.GetAssetPlainArgs 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.outposts.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetAssetPlainArgs Empty = new GetAssetPlainArgs();

    /**
     * Outpost ARN.
     * 
     */
    @Import(name="arn", required=true)
    private String arn;

    /**
     * @return Outpost ARN.
     * 
     */
    public String arn() {
        return this.arn;
    }

    /**
     * ID of the asset.
     * 
     */
    @Import(name="assetId", required=true)
    private String assetId;

    /**
     * @return ID of the asset.
     * 
     */
    public String assetId() {
        return this.assetId;
    }

    private GetAssetPlainArgs() {}

    private GetAssetPlainArgs(GetAssetPlainArgs $) {
        this.arn = $.arn;
        this.assetId = $.assetId;
    }

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

    public static final class Builder {
        private GetAssetPlainArgs $;

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

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

        /**
         * @param arn Outpost ARN.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param assetId ID of the asset.
         * 
         * @return builder
         * 
         */
        public Builder assetId(String assetId) {
            $.assetId = assetId;
            return this;
        }

        public GetAssetPlainArgs build() {
            if ($.arn == null) {
                throw new MissingRequiredPropertyException("GetAssetPlainArgs", "arn");
            }
            if ($.assetId == null) {
                throw new MissingRequiredPropertyException("GetAssetPlainArgs", "assetId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy