Package io.fabric8.kubernetes.api.model
Class HostAliasFluentImpl<A extends HostAliasFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.HostAliasFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,HostAliasFluent<A>
- Direct Known Subclasses:
HostAliasBuilder,PodSpecFluentImpl.HostAliasesNestedImpl,WatchEventFluentImpl.HostAliasObjectNestedImpl
public class HostAliasFluentImpl<A extends HostAliasFluent<A>> extends BaseFluent<A> implements HostAliasFluent<A>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description HostAliasFluentImpl()HostAliasFluentImpl(HostAlias instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AaddAllToHostnames(Collection<String> items)AaddNewHostname(String arg1)AaddNewHostname(StringBuffer arg1)AaddNewHostname(StringBuilder arg1)AaddToHostnames(int index, String item)AaddToHostnames(String... items)booleanequals(Object o)StringgetFirstHostname()StringgetHostname(int index)List<String>getHostnames()StringgetIp()StringgetLastHostname()StringgetMatchingHostname(Predicate<String> predicate)inthashCode()BooleanhasHostnames()BooleanhasIp()BooleanhasMatchingHostname(Predicate<String> predicate)AremoveAllFromHostnames(Collection<String> items)AremoveFromHostnames(String... items)AsetToHostnames(int index, String item)AwithHostnames(String... hostnames)AwithHostnames(List<String> hostnames)AwithIp(String ip)AwithNewIp(String arg1)AwithNewIp(StringBuffer arg1)AwithNewIp(StringBuilder arg1)
-
-
-
Constructor Detail
-
HostAliasFluentImpl
public HostAliasFluentImpl()
-
HostAliasFluentImpl
public HostAliasFluentImpl(HostAlias instance)
-
-
Method Detail
-
addToHostnames
public A addToHostnames(int index, String item)
- Specified by:
addToHostnamesin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
setToHostnames
public A setToHostnames(int index, String item)
- Specified by:
setToHostnamesin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
addToHostnames
public A addToHostnames(String... items)
- Specified by:
addToHostnamesin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
addAllToHostnames
public A addAllToHostnames(Collection<String> items)
- Specified by:
addAllToHostnamesin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
removeFromHostnames
public A removeFromHostnames(String... items)
- Specified by:
removeFromHostnamesin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
removeAllFromHostnames
public A removeAllFromHostnames(Collection<String> items)
- Specified by:
removeAllFromHostnamesin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
getHostnames
public List<String> getHostnames()
- Specified by:
getHostnamesin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
getHostname
public String getHostname(int index)
- Specified by:
getHostnamein interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
getFirstHostname
public String getFirstHostname()
- Specified by:
getFirstHostnamein interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
getLastHostname
public String getLastHostname()
- Specified by:
getLastHostnamein interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
getMatchingHostname
public String getMatchingHostname(Predicate<String> predicate)
- Specified by:
getMatchingHostnamein interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
hasMatchingHostname
public Boolean hasMatchingHostname(Predicate<String> predicate)
- Specified by:
hasMatchingHostnamein interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
withHostnames
public A withHostnames(List<String> hostnames)
- Specified by:
withHostnamesin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
withHostnames
public A withHostnames(String... hostnames)
- Specified by:
withHostnamesin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
hasHostnames
public Boolean hasHostnames()
- Specified by:
hasHostnamesin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
addNewHostname
public A addNewHostname(String arg1)
- Specified by:
addNewHostnamein interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
addNewHostname
public A addNewHostname(StringBuilder arg1)
- Specified by:
addNewHostnamein interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
addNewHostname
public A addNewHostname(StringBuffer arg1)
- Specified by:
addNewHostnamein interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
getIp
public String getIp()
- Specified by:
getIpin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
withIp
public A withIp(String ip)
- Specified by:
withIpin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
hasIp
public Boolean hasIp()
- Specified by:
hasIpin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
withNewIp
public A withNewIp(String arg1)
- Specified by:
withNewIpin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
withNewIp
public A withNewIp(StringBuilder arg1)
- Specified by:
withNewIpin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
withNewIp
public A withNewIp(StringBuffer arg1)
- Specified by:
withNewIpin interfaceHostAliasFluent<A extends HostAliasFluent<A>>
-
-