com.pulumi.aws.outposts.inputs.GetAssetPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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