com.pulumi.linode.inputs.GetVpcArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of linode Show documentation
Show all versions of linode Show documentation
A Pulumi package for creating and managing linode 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.linode.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 GetVpcArgs extends com.pulumi.resources.InvokeArgs {
public static final GetVpcArgs Empty = new GetVpcArgs();
/**
* The unique id of this VPC.
*
*/
@Import(name="id", required=true)
private Output id;
/**
* @return The unique id of this VPC.
*
*/
public Output id() {
return this.id;
}
private GetVpcArgs() {}
private GetVpcArgs(GetVpcArgs $) {
this.id = $.id;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVpcArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetVpcArgs $;
public Builder() {
$ = new GetVpcArgs();
}
public Builder(GetVpcArgs defaults) {
$ = new GetVpcArgs(Objects.requireNonNull(defaults));
}
/**
* @param id The unique id of this VPC.
*
* @return builder
*
*/
public Builder id(Output id) {
$.id = id;
return this;
}
/**
* @param id The unique id of this VPC.
*
* @return builder
*
*/
public Builder id(String id) {
return id(Output.of(id));
}
public GetVpcArgs build() {
if ($.id == null) {
throw new MissingRequiredPropertyException("GetVpcArgs", "id");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy