Class FlowSchemaSpec
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.flowcontrol.v1beta3.FlowSchemaSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<FlowSchemaSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class FlowSchemaSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<FlowSchemaSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResourceFlowSchemaSpec describes how the FlowSchema's specification looks like.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlowSchemaSpec()No args constructor for use in serializationFlowSchemaSpec(FlowDistinguisherMethod distinguisherMethod, Integer matchingPrecedence, PriorityLevelConfigurationReference priorityLevelConfiguration, List<PolicyRulesWithSubjects> rules)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowSchemaSpecBuilderedit()Map<String,Object>getAdditionalProperties()FlowDistinguisherMethodgetDistinguisherMethod()FlowSchemaSpec describes how the FlowSchema's specification looks like.IntegergetMatchingPrecedence()`matchingPrecedence` is used to choose among the FlowSchemas that match a given request.PriorityLevelConfigurationReferencegetPriorityLevelConfiguration()FlowSchemaSpec describes how the FlowSchema's specification looks like.List<PolicyRulesWithSubjects>getRules()`rules` describes which requests will match this flow schema.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDistinguisherMethod(FlowDistinguisherMethod distinguisherMethod)FlowSchemaSpec describes how the FlowSchema's specification looks like.voidsetMatchingPrecedence(Integer matchingPrecedence)`matchingPrecedence` is used to choose among the FlowSchemas that match a given request.voidsetPriorityLevelConfiguration(PriorityLevelConfigurationReference priorityLevelConfiguration)FlowSchemaSpec describes how the FlowSchema's specification looks like.voidsetRules(List<PolicyRulesWithSubjects> rules)`rules` describes which requests will match this flow schema.FlowSchemaSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
FlowSchemaSpec
public FlowSchemaSpec()
No args constructor for use in serialization
-
FlowSchemaSpec
public FlowSchemaSpec(FlowDistinguisherMethod distinguisherMethod, Integer matchingPrecedence, PriorityLevelConfigurationReference priorityLevelConfiguration, List<PolicyRulesWithSubjects> rules)
-
-
Method Detail
-
getDistinguisherMethod
public FlowDistinguisherMethod getDistinguisherMethod()
FlowSchemaSpec describes how the FlowSchema's specification looks like.
-
setDistinguisherMethod
public void setDistinguisherMethod(FlowDistinguisherMethod distinguisherMethod)
FlowSchemaSpec describes how the FlowSchema's specification looks like.
-
getMatchingPrecedence
public Integer getMatchingPrecedence()
`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.
-
setMatchingPrecedence
public void setMatchingPrecedence(Integer matchingPrecedence)
`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.
-
getPriorityLevelConfiguration
public PriorityLevelConfigurationReference getPriorityLevelConfiguration()
FlowSchemaSpec describes how the FlowSchema's specification looks like.
-
setPriorityLevelConfiguration
public void setPriorityLevelConfiguration(PriorityLevelConfigurationReference priorityLevelConfiguration)
FlowSchemaSpec describes how the FlowSchema's specification looks like.
-
getRules
public List<PolicyRulesWithSubjects> getRules()
`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.
-
setRules
public void setRules(List<PolicyRulesWithSubjects> rules)
`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.
-
edit
public FlowSchemaSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<FlowSchemaSpecBuilder>
-
toBuilder
public FlowSchemaSpecBuilder toBuilder()
-
-