Class KubernetesClientBuilder
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointBuilder<KubernetesClient>
org.citrusframework.kubernetes.client.KubernetesClientBuilder
- All Implemented Interfaces:
EndpointBuilder<KubernetesClient>
- Since:
- 2.7
- Author:
- Christoph Deppisch
-
Field Summary
Fields inherited from interface org.citrusframework.endpoint.EndpointBuilder
logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Sets the client certFile.protected KubernetesClientmessageConverter(KubernetesMessageConverter messageConverter) Sets the message converter.Sets the client namespace.oauthToken(String oauthToken) Sets the authentication token.objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Sets the object mapper.Sets the client password.Sets the client url.Sets the client username.Sets the client version.Methods inherited from class org.citrusframework.endpoint.AbstractEndpointBuilder
actor, initialize, name, referenceResolver, supportsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.endpoint.EndpointBuilder
build, build
-
Constructor Details
-
KubernetesClientBuilder
public KubernetesClientBuilder()
-
-
Method Details
-
build
- Specified by:
buildin interfaceEndpointBuilder<KubernetesClient>- Overrides:
buildin classAbstractEndpointBuilder<KubernetesClient>
-
getEndpoint
- Specified by:
getEndpointin classAbstractEndpointBuilder<KubernetesClient>
-
url
Sets the client url.- Parameters:
url-- Returns:
-
version
Sets the client version.- Parameters:
version-- Returns:
-
username
Sets the client username.- Parameters:
username-- Returns:
-
password
Sets the client password.- Parameters:
password-- Returns:
-
oauthToken
Sets the authentication token.- Parameters:
oauthToken-- Returns:
-
namespace
Sets the client namespace.- Parameters:
namespace-- Returns:
-
certFile
Sets the client certFile.- Parameters:
certFile-- Returns:
-
messageConverter
Sets the message converter.- Parameters:
messageConverter-- Returns:
-
objectMapper
public KubernetesClientBuilder objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Sets the object mapper.- Parameters:
objectMapper-- Returns:
-