com.equinix.pulumi.fabric.outputs.GetCloudRouterPackage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of equinix Show documentation
Show all versions of equinix Show documentation
A Pulumi package for creating and managing equinix 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.equinix.pulumi.fabric.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetCloudRouterPackage {
/**
* @return Fabric Cloud Router package code
*
*/
private String code;
private GetCloudRouterPackage() {}
/**
* @return Fabric Cloud Router package code
*
*/
public String code() {
return this.code;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetCloudRouterPackage defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String code;
public Builder() {}
public Builder(GetCloudRouterPackage defaults) {
Objects.requireNonNull(defaults);
this.code = defaults.code;
}
@CustomType.Setter
public Builder code(String code) {
if (code == null) {
throw new MissingRequiredPropertyException("GetCloudRouterPackage", "code");
}
this.code = code;
return this;
}
public GetCloudRouterPackage build() {
final var _resultValue = new GetCloudRouterPackage();
_resultValue.code = code;
return _resultValue;
}
}
}