com.pulumi.linode.inputs.GetInstanceNetworkingArgs 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.Integer;
import java.util.Objects;
public final class GetInstanceNetworkingArgs extends com.pulumi.resources.InvokeArgs {
public static final GetInstanceNetworkingArgs Empty = new GetInstanceNetworkingArgs();
/**
* The Linode instance's ID.
*
*/
@Import(name="linodeId", required=true)
private Output linodeId;
/**
* @return The Linode instance's ID.
*
*/
public Output linodeId() {
return this.linodeId;
}
private GetInstanceNetworkingArgs() {}
private GetInstanceNetworkingArgs(GetInstanceNetworkingArgs $) {
this.linodeId = $.linodeId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetInstanceNetworkingArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetInstanceNetworkingArgs $;
public Builder() {
$ = new GetInstanceNetworkingArgs();
}
public Builder(GetInstanceNetworkingArgs defaults) {
$ = new GetInstanceNetworkingArgs(Objects.requireNonNull(defaults));
}
/**
* @param linodeId The Linode instance's ID.
*
* @return builder
*
*/
public Builder linodeId(Output linodeId) {
$.linodeId = linodeId;
return this;
}
/**
* @param linodeId The Linode instance's ID.
*
* @return builder
*
*/
public Builder linodeId(Integer linodeId) {
return linodeId(Output.of(linodeId));
}
public GetInstanceNetworkingArgs build() {
if ($.linodeId == null) {
throw new MissingRequiredPropertyException("GetInstanceNetworkingArgs", "linodeId");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy