Package org.cdk8s.plus22
Interface HostAlias
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HostAlias.Jsii$Proxy
@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-11T03:06:35.001Z") @Stability(Stable) public interface HostAlias extends software.amazon.jsii.JsiiSerializable
HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's /etc/hosts file.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHostAlias.BuilderA builder forHostAliasstatic classHostAlias.Jsii$ProxyAn implementation forHostAlias
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static HostAlias.Builderbuilder()List<String>getHostnames()Hostnames for the chosen IP address.StringgetIp()IP address of the host file entry.
-
-
-
Method Detail
-
getHostnames
@Stability(Stable) @NotNull List<String> getHostnames()
Hostnames for the chosen IP address.
-
getIp
@Stability(Stable) @NotNull String getIp()
IP address of the host file entry.
-
builder
@Stability(Stable) static HostAlias.Builder builder()
- Returns:
- a
HostAlias.BuilderofHostAlias
-
-