com.pulumi.linode.inputs.GetLkeClusterPoolNodeArgs 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.lang.String;
import java.util.Objects;
public final class GetLkeClusterPoolNodeArgs extends com.pulumi.resources.ResourceArgs {
public static final GetLkeClusterPoolNodeArgs Empty = new GetLkeClusterPoolNodeArgs();
/**
* The LKE Cluster's ID.
*
*/
@Import(name="id", required=true)
private Output id;
/**
* @return The LKE Cluster's ID.
*
*/
public Output id() {
return this.id;
}
/**
* The ID of the underlying Linode instance.
*
*/
@Import(name="instanceId", required=true)
private Output instanceId;
/**
* @return The ID of the underlying Linode instance.
*
*/
public Output instanceId() {
return this.instanceId;
}
/**
* The status of the node. (`ready`, `not_ready`)
*
*/
@Import(name="status", required=true)
private Output status;
/**
* @return The status of the node. (`ready`, `not_ready`)
*
*/
public Output status() {
return this.status;
}
private GetLkeClusterPoolNodeArgs() {}
private GetLkeClusterPoolNodeArgs(GetLkeClusterPoolNodeArgs $) {
this.id = $.id;
this.instanceId = $.instanceId;
this.status = $.status;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetLkeClusterPoolNodeArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetLkeClusterPoolNodeArgs $;
public Builder() {
$ = new GetLkeClusterPoolNodeArgs();
}
public Builder(GetLkeClusterPoolNodeArgs defaults) {
$ = new GetLkeClusterPoolNodeArgs(Objects.requireNonNull(defaults));
}
/**
* @param id The LKE Cluster's ID.
*
* @return builder
*
*/
public Builder id(Output id) {
$.id = id;
return this;
}
/**
* @param id The LKE Cluster's ID.
*
* @return builder
*
*/
public Builder id(String id) {
return id(Output.of(id));
}
/**
* @param instanceId The ID of the underlying Linode instance.
*
* @return builder
*
*/
public Builder instanceId(Output instanceId) {
$.instanceId = instanceId;
return this;
}
/**
* @param instanceId The ID of the underlying Linode instance.
*
* @return builder
*
*/
public Builder instanceId(Integer instanceId) {
return instanceId(Output.of(instanceId));
}
/**
* @param status The status of the node. (`ready`, `not_ready`)
*
* @return builder
*
*/
public Builder status(Output status) {
$.status = status;
return this;
}
/**
* @param status The status of the node. (`ready`, `not_ready`)
*
* @return builder
*
*/
public Builder status(String status) {
return status(Output.of(status));
}
public GetLkeClusterPoolNodeArgs build() {
if ($.id == null) {
throw new MissingRequiredPropertyException("GetLkeClusterPoolNodeArgs", "id");
}
if ($.instanceId == null) {
throw new MissingRequiredPropertyException("GetLkeClusterPoolNodeArgs", "instanceId");
}
if ($.status == null) {
throw new MissingRequiredPropertyException("GetLkeClusterPoolNodeArgs", "status");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy