Package io.fabric8.kubernetes.api.model
Class ServiceReferenceFluentImpl<A extends ServiceReferenceFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.ServiceReferenceFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,ServiceReferenceFluent<A>
- Direct Known Subclasses:
APIServiceSpecFluentImpl.ServiceNestedImpl,ServiceReferenceBuilder,WatchEventFluentImpl.ServiceReferenceObjectNestedImpl
public class ServiceReferenceFluentImpl<A extends ServiceReferenceFluent<A>> extends BaseFluent<A> implements ServiceReferenceFluent<A>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description ServiceReferenceFluentImpl()ServiceReferenceFluentImpl(ServiceReference instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()StringgetNamespace()IntegergetPort()inthashCode()BooleanhasName()BooleanhasNamespace()BooleanhasPort()AwithName(String name)AwithNamespace(String namespace)AwithNewName(String arg1)AwithNewName(StringBuffer arg1)AwithNewName(StringBuilder arg1)AwithNewNamespace(String arg1)AwithNewNamespace(StringBuffer arg1)AwithNewNamespace(StringBuilder arg1)AwithPort(Integer port)
-
-
-
Constructor Detail
-
ServiceReferenceFluentImpl
public ServiceReferenceFluentImpl()
-
ServiceReferenceFluentImpl
public ServiceReferenceFluentImpl(ServiceReference instance)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withName
public A withName(String name)
- Specified by:
withNamein interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
hasName
public Boolean hasName()
- Specified by:
hasNamein interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withNewName
public A withNewName(String arg1)
- Specified by:
withNewNamein interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withNewName
public A withNewName(StringBuilder arg1)
- Specified by:
withNewNamein interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withNewName
public A withNewName(StringBuffer arg1)
- Specified by:
withNewNamein interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
getNamespace
public String getNamespace()
- Specified by:
getNamespacein interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withNamespace
public A withNamespace(String namespace)
- Specified by:
withNamespacein interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
hasNamespace
public Boolean hasNamespace()
- Specified by:
hasNamespacein interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withNewNamespace
public A withNewNamespace(String arg1)
- Specified by:
withNewNamespacein interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withNewNamespace
public A withNewNamespace(StringBuilder arg1)
- Specified by:
withNewNamespacein interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withNewNamespace
public A withNewNamespace(StringBuffer arg1)
- Specified by:
withNewNamespacein interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
getPort
public Integer getPort()
- Specified by:
getPortin interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withPort
public A withPort(Integer port)
- Specified by:
withPortin interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
hasPort
public Boolean hasPort()
- Specified by:
hasPortin interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
-