io.k8s.api.core.v1.NodeAddress Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s130 Show documentation
Show all versions of bl-k8s130 Show documentation
Programmatic resource management for Kubernetes
package io.k8s.api.core.v1;
import java.lang.String;
/**
* NodeAddress contains information for the node's address.
*/
public class NodeAddress {
public String address;
public String type;
/**
* The node address.
*/
public NodeAddress address(String address) {
this.address = address;
return this;
}
/**
* Node address type, one of Hostname, ExternalIP or InternalIP.
*/
public NodeAddress type(String type) {
this.type = type;
return this;
}
public static NodeAddress nodeAddress() {
return new NodeAddress();
}
}