Package io.fabric8.kubernetes.client
Class CustomResourceFluentImpl<S,T,A extends CustomResourceFluent<S,T,A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.client.CustomResourceFluentImpl<S,T,A>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>
,io.fabric8.kubernetes.api.builder.Visitable<A>
,CustomResourceFluent<S,T,A>
public class CustomResourceFluentImpl<S,T,A extends CustomResourceFluent<S,T,A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements CustomResourceFluent<S,T,A>
-
-
Constructor Summary
Constructors Constructor Description CustomResourceFluentImpl()
CustomResourceFluentImpl(CustomResource<S,T> instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getApiVersion()
String
getKind()
io.fabric8.kubernetes.api.model.ObjectMeta
getMetadata()
S
getSpec()
T
getStatus()
Boolean
hasApiVersion()
int
hashCode()
Boolean
hasKind()
Boolean
hasMetadata()
Boolean
hasSpec()
Boolean
hasStatus()
A
withApiVersion(String apiVersion)
A
withKind(String kind)
A
withMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
A
withNewApiVersion(String arg1)
A
withNewApiVersion(StringBuffer arg1)
A
withNewApiVersion(StringBuilder arg1)
A
withNewKind(String arg1)
A
withNewKind(StringBuffer arg1)
A
withNewKind(StringBuilder arg1)
A
withSpec(S spec)
A
withStatus(T status)
-
-
-
Constructor Detail
-
CustomResourceFluentImpl
public CustomResourceFluentImpl()
-
CustomResourceFluentImpl
public CustomResourceFluentImpl(CustomResource<S,T> instance)
-
-
Method Detail
-
getMetadata
public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
- Specified by:
getMetadata
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
withMetadata
public A withMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
- Specified by:
withMetadata
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
hasMetadata
public Boolean hasMetadata()
- Specified by:
hasMetadata
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
getSpec
public S getSpec()
- Specified by:
getSpec
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
withSpec
public A withSpec(S spec)
- Specified by:
withSpec
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
hasSpec
public Boolean hasSpec()
- Specified by:
hasSpec
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
getStatus
public T getStatus()
- Specified by:
getStatus
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
withStatus
public A withStatus(T status)
- Specified by:
withStatus
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
hasStatus
public Boolean hasStatus()
- Specified by:
hasStatus
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
getKind
public String getKind()
- Specified by:
getKind
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
withKind
public A withKind(String kind)
- Specified by:
withKind
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
hasKind
public Boolean hasKind()
- Specified by:
hasKind
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
withNewKind
public A withNewKind(String arg1)
- Specified by:
withNewKind
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
withNewKind
public A withNewKind(StringBuilder arg1)
- Specified by:
withNewKind
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
withNewKind
public A withNewKind(StringBuffer arg1)
- Specified by:
withNewKind
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
getApiVersion
public String getApiVersion()
- Specified by:
getApiVersion
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
withApiVersion
public A withApiVersion(String apiVersion)
- Specified by:
withApiVersion
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
hasApiVersion
public Boolean hasApiVersion()
- Specified by:
hasApiVersion
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
withNewApiVersion
public A withNewApiVersion(String arg1)
- Specified by:
withNewApiVersion
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuilder arg1)
- Specified by:
withNewApiVersion
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuffer arg1)
- Specified by:
withNewApiVersion
in interfaceCustomResourceFluent<S,T,A extends CustomResourceFluent<S,T,A>>
-
-