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 boolean
equals(Object o)
String
getName()
String
getNamespace()
Integer
getPort()
int
hashCode()
Boolean
hasName()
Boolean
hasNamespace()
Boolean
hasPort()
A
withName(String name)
A
withNamespace(String namespace)
A
withNewName(String arg1)
A
withNewName(StringBuffer arg1)
A
withNewName(StringBuilder arg1)
A
withNewNamespace(String arg1)
A
withNewNamespace(StringBuffer arg1)
A
withNewNamespace(StringBuilder arg1)
A
withPort(Integer port)
-
-
-
Constructor Detail
-
ServiceReferenceFluentImpl
public ServiceReferenceFluentImpl()
-
ServiceReferenceFluentImpl
public ServiceReferenceFluentImpl(ServiceReference instance)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withName
public A withName(String name)
- Specified by:
withName
in interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
hasName
public Boolean hasName()
- Specified by:
hasName
in interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withNewName
public A withNewName(String arg1)
- Specified by:
withNewName
in interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withNewName
public A withNewName(StringBuilder arg1)
- Specified by:
withNewName
in interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withNewName
public A withNewName(StringBuffer arg1)
- Specified by:
withNewName
in interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
getNamespace
public String getNamespace()
- Specified by:
getNamespace
in interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withNamespace
public A withNamespace(String namespace)
- Specified by:
withNamespace
in interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
hasNamespace
public Boolean hasNamespace()
- Specified by:
hasNamespace
in interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withNewNamespace
public A withNewNamespace(String arg1)
- Specified by:
withNewNamespace
in interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withNewNamespace
public A withNewNamespace(StringBuilder arg1)
- Specified by:
withNewNamespace
in interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withNewNamespace
public A withNewNamespace(StringBuffer arg1)
- Specified by:
withNewNamespace
in interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
getPort
public Integer getPort()
- Specified by:
getPort
in interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
withPort
public A withPort(Integer port)
- Specified by:
withPort
in interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
hasPort
public Boolean hasPort()
- Specified by:
hasPort
in interfaceServiceReferenceFluent<A extends ServiceReferenceFluent<A>>
-
-