Package org.cdk8s.plus25.k8s
Interface FlowSchemaSpecV1Beta2
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FlowSchemaSpecV1Beta2.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.542Z") @Stability(Stable) public interface FlowSchemaSpecV1Beta2 extends software.amazon.jsii.JsiiSerializable
FlowSchemaSpec describes how the FlowSchema's specification looks like.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFlowSchemaSpecV1Beta2.BuilderA builder forFlowSchemaSpecV1Beta2static classFlowSchemaSpecV1Beta2.Jsii$ProxyAn implementation forFlowSchemaSpecV1Beta2
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static FlowSchemaSpecV1Beta2.Builderbuilder()default FlowDistinguisherMethodV1Beta2getDistinguisherMethod()distinguisherMethoddefines how to compute the flow distinguisher for requests that match this schema.default NumbergetMatchingPrecedence()matchingPrecedenceis used to choose among the FlowSchemas that match a given request.PriorityLevelConfigurationReferenceV1Beta2getPriorityLevelConfiguration()priorityLevelConfigurationshould reference a PriorityLevelConfiguration in the cluster.default List<PolicyRulesWithSubjectsV1Beta2>getRules()rulesdescribes which requests will match this flow schema.
-
-
-
Method Detail
-
getPriorityLevelConfiguration
@Stability(Stable) @NotNull PriorityLevelConfigurationReferenceV1Beta2 getPriorityLevelConfiguration()
priorityLevelConfigurationshould reference a PriorityLevelConfiguration in the cluster.If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required.
-
getDistinguisherMethod
@Stability(Stable) @Nullable default FlowDistinguisherMethodV1Beta2 getDistinguisherMethod()
distinguisherMethoddefines how to compute the flow distinguisher for requests that match this schema.nilspecifies that the distinguisher is disabled and thus will always be the empty string.
-
getMatchingPrecedence
@Stability(Stable) @Nullable default Number getMatchingPrecedence()
matchingPrecedenceis 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.
-
getRules
@Stability(Stable) @Nullable default List<PolicyRulesWithSubjectsV1Beta2> getRules()
rulesdescribes 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.
-
builder
@Stability(Stable) static FlowSchemaSpecV1Beta2.Builder builder()
- Returns:
- a
FlowSchemaSpecV1Beta2.BuilderofFlowSchemaSpecV1Beta2
-
-