Class HostAlias
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.HostAlias
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<HostAliasBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class HostAlias extends Object implements io.fabric8.kubernetes.api.builder.Editable<HostAliasBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostAliasBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getHostnames()Hostnames for the above IP address.StringgetIp()IP address of the host file entry.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetHostnames(List<String> hostnames)Hostnames for the above IP address.voidsetIp(String ip)IP address of the host file entry.HostAliasBuildertoBuilder()
-
-
-
Method Detail
-
getIp
public String getIp()
IP address of the host file entry.
-
setIp
public void setIp(String ip)
IP address of the host file entry.
-
edit
public HostAliasBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<HostAliasBuilder>
-
toBuilder
public HostAliasBuilder toBuilder()
-
-