Class KubernetesServiceInstance
java.lang.Object
org.springframework.cloud.kubernetes.discovery.KubernetesServiceInstance
- All Implemented Interfaces:
org.springframework.cloud.client.ServiceInstance
@Deprecated(forRemoval=true)
public class KubernetesServiceInstance
extends Object
implements org.springframework.cloud.client.ServiceInstance
Deprecated, for removal: This API element is subject to removal in a future version.
- Author:
- Ryan Baxter
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.KubernetesServiceInstance(String instanceId, String serviceId, String host, int port, boolean secure, URI uri, Map<String, String> metadata, String scheme, String namespace) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.getHost()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.intgetPort()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getUri()Deprecated, for removal: This API element is subject to removal in a future version.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.booleanisSecure()Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetInstanceId(String instanceId) Deprecated, for removal: This API element is subject to removal in a future version.voidsetMetadata(Map<String, String> metadata) Deprecated, for removal: This API element is subject to removal in a future version.voidsetNamespace(String namespace) Deprecated, for removal: This API element is subject to removal in a future version.voidsetPort(int port) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetSecure(boolean secure) Deprecated, for removal: This API element is subject to removal in a future version.voidsetServiceId(String serviceId) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
KubernetesServiceInstance
public KubernetesServiceInstance()Deprecated, for removal: This API element is subject to removal in a future version. -
KubernetesServiceInstance
public KubernetesServiceInstance(String instanceId, String serviceId, String host, int port, boolean secure, URI uri, Map<String, String> metadata, String scheme, String namespace) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getInstanceId
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getInstanceIdin interfaceorg.springframework.cloud.client.ServiceInstance
-
getServiceId
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getServiceIdin interfaceorg.springframework.cloud.client.ServiceInstance
-
getHost
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getHostin interfaceorg.springframework.cloud.client.ServiceInstance
-
getPort
public int getPort()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPortin interfaceorg.springframework.cloud.client.ServiceInstance
-
isSecure
public boolean isSecure()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isSecurein interfaceorg.springframework.cloud.client.ServiceInstance
-
getUri
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getUriin interfaceorg.springframework.cloud.client.ServiceInstance
-
getMetadata
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getMetadatain interfaceorg.springframework.cloud.client.ServiceInstance
-
setInstanceId
Deprecated, for removal: This API element is subject to removal in a future version. -
setServiceId
Deprecated, for removal: This API element is subject to removal in a future version. -
setHost
Deprecated, for removal: This API element is subject to removal in a future version. -
setPort
public void setPort(int port) Deprecated, for removal: This API element is subject to removal in a future version. -
setSecure
public void setSecure(boolean secure) Deprecated, for removal: This API element is subject to removal in a future version. -
setUri
Deprecated, for removal: This API element is subject to removal in a future version. -
setMetadata
Deprecated, for removal: This API element is subject to removal in a future version. -
setScheme
Deprecated, for removal: This API element is subject to removal in a future version. -
getNamespace
Deprecated, for removal: This API element is subject to removal in a future version. -
setNamespace
Deprecated, for removal: This API element is subject to removal in a future version. -
getScheme
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getSchemein interfaceorg.springframework.cloud.client.ServiceInstance
-
equals
Deprecated, for removal: This API element is subject to removal in a future version. -
hashCode
public int hashCode()Deprecated, for removal: This API element is subject to removal in a future version.
-