com.pulumi.linode.outputs.GetVpcsVpc 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetVpcsVpc {
/**
* @return The date and time when the VPC was created.
*
*/
private String created;
/**
* @return The user-defined description of this VPC.
*
*/
private String description;
/**
* @return The unique id of this VPC.
*
*/
private String id;
/**
* @return The label of the VPC.
*
*/
private String label;
/**
* @return The region where the VPC is deployed.
*
*/
private String region;
/**
* @return The date and time when the VPC was last updated.
*
*/
private String updated;
private GetVpcsVpc() {}
/**
* @return The date and time when the VPC was created.
*
*/
public String created() {
return this.created;
}
/**
* @return The user-defined description of this VPC.
*
*/
public String description() {
return this.description;
}
/**
* @return The unique id of this VPC.
*
*/
public String id() {
return this.id;
}
/**
* @return The label of the VPC.
*
*/
public String label() {
return this.label;
}
/**
* @return The region where the VPC is deployed.
*
*/
public String region() {
return this.region;
}
/**
* @return The date and time when the VPC was last updated.
*
*/
public String updated() {
return this.updated;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVpcsVpc defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String created;
private String description;
private String id;
private String label;
private String region;
private String updated;
public Builder() {}
public Builder(GetVpcsVpc defaults) {
Objects.requireNonNull(defaults);
this.created = defaults.created;
this.description = defaults.description;
this.id = defaults.id;
this.label = defaults.label;
this.region = defaults.region;
this.updated = defaults.updated;
}
@CustomType.Setter
public Builder created(String created) {
if (created == null) {
throw new MissingRequiredPropertyException("GetVpcsVpc", "created");
}
this.created = created;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetVpcsVpc", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetVpcsVpc", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder label(String label) {
if (label == null) {
throw new MissingRequiredPropertyException("GetVpcsVpc", "label");
}
this.label = label;
return this;
}
@CustomType.Setter
public Builder region(String region) {
if (region == null) {
throw new MissingRequiredPropertyException("GetVpcsVpc", "region");
}
this.region = region;
return this;
}
@CustomType.Setter
public Builder updated(String updated) {
if (updated == null) {
throw new MissingRequiredPropertyException("GetVpcsVpc", "updated");
}
this.updated = updated;
return this;
}
public GetVpcsVpc build() {
final var _resultValue = new GetVpcsVpc();
_resultValue.created = created;
_resultValue.description = description;
_resultValue.id = id;
_resultValue.label = label;
_resultValue.region = region;
_resultValue.updated = updated;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy