Package io.fabric8.openshift.api.model
Class RouterShard
- java.lang.Object
-
- io.fabric8.openshift.api.model.RouterShard
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<RouterShardBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RouterShard extends Object implements io.fabric8.kubernetes.api.builder.Editable<RouterShardBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
RouterShard has information of a routing shard and is used to generate host names and routing table entries when a routing shard is allocated for a specific route. Caveat: This is WIP and will likely undergo modifications when sharding support is added.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RouterShard()No args constructor for use in serializationRouterShard(String dnsSuffix, String shardName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouterShardBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDnsSuffix()dnsSuffix for the shard ala: shard-1.v3.openshift.comStringgetShardName()shardName uniquely identifies a router shard in the "set" of routers used for routing traffic to the services.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDnsSuffix(String dnsSuffix)dnsSuffix for the shard ala: shard-1.v3.openshift.comvoidsetShardName(String shardName)shardName uniquely identifies a router shard in the "set" of routers used for routing traffic to the services.RouterShardBuildertoBuilder()
-
-
-
Method Detail
-
getDnsSuffix
public String getDnsSuffix()
dnsSuffix for the shard ala: shard-1.v3.openshift.com
-
setDnsSuffix
public void setDnsSuffix(String dnsSuffix)
dnsSuffix for the shard ala: shard-1.v3.openshift.com
-
getShardName
public String getShardName()
shardName uniquely identifies a router shard in the "set" of routers used for routing traffic to the services.
-
setShardName
public void setShardName(String shardName)
shardName uniquely identifies a router shard in the "set" of routers used for routing traffic to the services.
-
edit
public RouterShardBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<RouterShardBuilder>
-
toBuilder
public RouterShardBuilder toBuilder()
-
-