Class ExternalServiceTemplate
- java.lang.Object
-
- io.strimzi.api.kafka.model.template.ExternalServiceTemplate
-
- All Implemented Interfaces:
UnknownPropertyPreserving
,Serializable
public class ExternalServiceTemplate extends Object implements Serializable, UnknownPropertyPreserving
Representation of a template for Strimzi external services. It contains additional values applicable to load balancer or node port type services.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExternalServiceTemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map<String,Object>
getAdditionalProperties()
ExternalTrafficPolicy
getExternalTrafficPolicy()
Deprecated.List<String>
getLoadBalancerSourceRanges()
Deprecated.MetadataTemplate
getMetadata()
void
setAdditionalProperty(String name, Object value)
void
setExternalTrafficPolicy(ExternalTrafficPolicy externalTrafficPolicy)
void
setLoadBalancerSourceRanges(List<String> loadBalancerSourceRanges)
void
setMetadata(MetadataTemplate metadata)
-
-
-
Method Detail
-
getMetadata
public MetadataTemplate getMetadata()
-
setMetadata
public void setMetadata(MetadataTemplate metadata)
-
getExternalTrafficPolicy
@Deprecated public ExternalTrafficPolicy getExternalTrafficPolicy()
Deprecated.
-
setExternalTrafficPolicy
public void setExternalTrafficPolicy(ExternalTrafficPolicy externalTrafficPolicy)
-
getLoadBalancerSourceRanges
@Deprecated public List<String> getLoadBalancerSourceRanges()
Deprecated.
-
setLoadBalancerSourceRanges
public void setLoadBalancerSourceRanges(List<String> loadBalancerSourceRanges)
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
- Specified by:
getAdditionalProperties
in interfaceUnknownPropertyPreserving
-
setAdditionalProperty
public void setAdditionalProperty(String name, Object value)
- Specified by:
setAdditionalProperty
in interfaceUnknownPropertyPreserving
-
-