Class ComponentRouteSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.ComponentRouteSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ComponentRouteSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ComponentRouteSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<ComponentRouteSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ComponentRouteSpec allows for configuration of a route's hostname and serving certificate.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComponentRouteSpec()No args constructor for use in serializationComponentRouteSpec(String hostname, String name, String namespace, SecretNameReference servingCertKeyPairSecret)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentRouteSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetHostname()hostname is the hostname that should be used by the route.StringgetName()name is the logical name of the route to customize.StringgetNamespace()namespace is the namespace of the route to customize.SecretNameReferencegetServingCertKeyPairSecret()ComponentRouteSpec allows for configuration of a route's hostname and serving certificate.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetHostname(String hostname)hostname is the hostname that should be used by the route.voidsetName(String name)name is the logical name of the route to customize.voidsetNamespace(String namespace)namespace is the namespace of the route to customize.voidsetServingCertKeyPairSecret(SecretNameReference servingCertKeyPairSecret)ComponentRouteSpec allows for configuration of a route's hostname and serving certificate.ComponentRouteSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
ComponentRouteSpec
public ComponentRouteSpec()
No args constructor for use in serialization
-
ComponentRouteSpec
public ComponentRouteSpec(String hostname, String name, String namespace, SecretNameReference servingCertKeyPairSecret)
-
-
Method Detail
-
getHostname
public String getHostname()
hostname is the hostname that should be used by the route.
-
setHostname
public void setHostname(String hostname)
hostname is the hostname that should be used by the route.
-
getName
public String getName()
name is the logical name of the route to customize.The namespace and name of this componentRoute must match a corresponding entry in the list of status.componentRoutes if the route is to be customized.
-
setName
public void setName(String name)
name is the logical name of the route to customize.The namespace and name of this componentRoute must match a corresponding entry in the list of status.componentRoutes if the route is to be customized.
-
getNamespace
public String getNamespace()
namespace is the namespace of the route to customize.The namespace and name of this componentRoute must match a corresponding entry in the list of status.componentRoutes if the route is to be customized.
-
setNamespace
public void setNamespace(String namespace)
namespace is the namespace of the route to customize.The namespace and name of this componentRoute must match a corresponding entry in the list of status.componentRoutes if the route is to be customized.
-
getServingCertKeyPairSecret
public SecretNameReference getServingCertKeyPairSecret()
ComponentRouteSpec allows for configuration of a route's hostname and serving certificate.
-
setServingCertKeyPairSecret
public void setServingCertKeyPairSecret(SecretNameReference servingCertKeyPairSecret)
ComponentRouteSpec allows for configuration of a route's hostname and serving certificate.
-
edit
public ComponentRouteSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ComponentRouteSpecBuilder>
-
toBuilder
public ComponentRouteSpecBuilder toBuilder()
-
-