public class EndpointFluentImpl<A extends EndpointFluent<A>> extends BaseFluent<A> implements EndpointFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
EndpointFluentImpl.ConditionsNestedImpl<N> |
class |
EndpointFluentImpl.TargetRefNestedImpl<N> |
EndpointFluent.ConditionsNested<N>, EndpointFluent.TargetRefNested<N>
_visitables
Constructor and Description |
---|
EndpointFluentImpl() |
EndpointFluentImpl(Endpoint instance) |
public EndpointFluentImpl()
public EndpointFluentImpl(Endpoint instance)
public A addToAddresses(int index, String item)
addToAddresses
in interface EndpointFluent<A extends EndpointFluent<A>>
public A setToAddresses(int index, String item)
setToAddresses
in interface EndpointFluent<A extends EndpointFluent<A>>
public A addToAddresses(String... items)
addToAddresses
in interface EndpointFluent<A extends EndpointFluent<A>>
public A addAllToAddresses(Collection<String> items)
addAllToAddresses
in interface EndpointFluent<A extends EndpointFluent<A>>
public A removeFromAddresses(String... items)
removeFromAddresses
in interface EndpointFluent<A extends EndpointFluent<A>>
public A removeAllFromAddresses(Collection<String> items)
removeAllFromAddresses
in interface EndpointFluent<A extends EndpointFluent<A>>
public List<String> getAddresses()
getAddresses
in interface EndpointFluent<A extends EndpointFluent<A>>
public String getAddress(int index)
getAddress
in interface EndpointFluent<A extends EndpointFluent<A>>
public String getFirstAddress()
getFirstAddress
in interface EndpointFluent<A extends EndpointFluent<A>>
public String getLastAddress()
getLastAddress
in interface EndpointFluent<A extends EndpointFluent<A>>
public String getMatchingAddress(Predicate<String> predicate)
getMatchingAddress
in interface EndpointFluent<A extends EndpointFluent<A>>
public Boolean hasMatchingAddress(Predicate<String> predicate)
hasMatchingAddress
in interface EndpointFluent<A extends EndpointFluent<A>>
public A withAddresses(List<String> addresses)
withAddresses
in interface EndpointFluent<A extends EndpointFluent<A>>
public A withAddresses(String... addresses)
withAddresses
in interface EndpointFluent<A extends EndpointFluent<A>>
public Boolean hasAddresses()
hasAddresses
in interface EndpointFluent<A extends EndpointFluent<A>>
public A addNewAddress(String arg1)
addNewAddress
in interface EndpointFluent<A extends EndpointFluent<A>>
public A addNewAddress(StringBuilder arg1)
addNewAddress
in interface EndpointFluent<A extends EndpointFluent<A>>
public A addNewAddress(StringBuffer arg1)
addNewAddress
in interface EndpointFluent<A extends EndpointFluent<A>>
@Deprecated public EndpointConditions getConditions()
getConditions
in interface EndpointFluent<A extends EndpointFluent<A>>
public EndpointConditions buildConditions()
buildConditions
in interface EndpointFluent<A extends EndpointFluent<A>>
public A withConditions(EndpointConditions conditions)
withConditions
in interface EndpointFluent<A extends EndpointFluent<A>>
public Boolean hasConditions()
hasConditions
in interface EndpointFluent<A extends EndpointFluent<A>>
public A withNewConditions(Boolean ready)
withNewConditions
in interface EndpointFluent<A extends EndpointFluent<A>>
public EndpointFluent.ConditionsNested<A> withNewConditions()
withNewConditions
in interface EndpointFluent<A extends EndpointFluent<A>>
public EndpointFluent.ConditionsNested<A> withNewConditionsLike(EndpointConditions item)
withNewConditionsLike
in interface EndpointFluent<A extends EndpointFluent<A>>
public EndpointFluent.ConditionsNested<A> editConditions()
editConditions
in interface EndpointFluent<A extends EndpointFluent<A>>
public EndpointFluent.ConditionsNested<A> editOrNewConditions()
editOrNewConditions
in interface EndpointFluent<A extends EndpointFluent<A>>
public EndpointFluent.ConditionsNested<A> editOrNewConditionsLike(EndpointConditions item)
editOrNewConditionsLike
in interface EndpointFluent<A extends EndpointFluent<A>>
public String getHostname()
getHostname
in interface EndpointFluent<A extends EndpointFluent<A>>
public A withHostname(String hostname)
withHostname
in interface EndpointFluent<A extends EndpointFluent<A>>
public Boolean hasHostname()
hasHostname
in interface EndpointFluent<A extends EndpointFluent<A>>
public A withNewHostname(String arg1)
withNewHostname
in interface EndpointFluent<A extends EndpointFluent<A>>
public A withNewHostname(StringBuilder arg1)
withNewHostname
in interface EndpointFluent<A extends EndpointFluent<A>>
public A withNewHostname(StringBuffer arg1)
withNewHostname
in interface EndpointFluent<A extends EndpointFluent<A>>
@Deprecated public ObjectReference getTargetRef()
getTargetRef
in interface EndpointFluent<A extends EndpointFluent<A>>
public ObjectReference buildTargetRef()
buildTargetRef
in interface EndpointFluent<A extends EndpointFluent<A>>
public A withTargetRef(ObjectReference targetRef)
withTargetRef
in interface EndpointFluent<A extends EndpointFluent<A>>
public Boolean hasTargetRef()
hasTargetRef
in interface EndpointFluent<A extends EndpointFluent<A>>
public EndpointFluent.TargetRefNested<A> withNewTargetRef()
withNewTargetRef
in interface EndpointFluent<A extends EndpointFluent<A>>
public EndpointFluent.TargetRefNested<A> withNewTargetRefLike(ObjectReference item)
withNewTargetRefLike
in interface EndpointFluent<A extends EndpointFluent<A>>
public EndpointFluent.TargetRefNested<A> editTargetRef()
editTargetRef
in interface EndpointFluent<A extends EndpointFluent<A>>
public EndpointFluent.TargetRefNested<A> editOrNewTargetRef()
editOrNewTargetRef
in interface EndpointFluent<A extends EndpointFluent<A>>
public EndpointFluent.TargetRefNested<A> editOrNewTargetRefLike(ObjectReference item)
editOrNewTargetRefLike
in interface EndpointFluent<A extends EndpointFluent<A>>
public A addToTopology(String key, String value)
addToTopology
in interface EndpointFluent<A extends EndpointFluent<A>>
public A addToTopology(Map<String,String> map)
addToTopology
in interface EndpointFluent<A extends EndpointFluent<A>>
public A removeFromTopology(String key)
removeFromTopology
in interface EndpointFluent<A extends EndpointFluent<A>>
public A removeFromTopology(Map<String,String> map)
removeFromTopology
in interface EndpointFluent<A extends EndpointFluent<A>>
public Map<String,String> getTopology()
getTopology
in interface EndpointFluent<A extends EndpointFluent<A>>
public A withTopology(Map<String,String> topology)
withTopology
in interface EndpointFluent<A extends EndpointFluent<A>>
public Boolean hasTopology()
hasTopology
in interface EndpointFluent<A extends EndpointFluent<A>>
Copyright © 2015–2020 Red Hat. All rights reserved.