Package org.cdk8s.plus23.k8s
Interface FlowSchemaSpecV1Beta1
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FlowSchemaSpecV1Beta1.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-15T03:08:35.309Z") @Stability(Stable) public interface FlowSchemaSpecV1Beta1 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 class
FlowSchemaSpecV1Beta1.Builder
A builder forFlowSchemaSpecV1Beta1
static class
FlowSchemaSpecV1Beta1.Jsii$Proxy
An implementation forFlowSchemaSpecV1Beta1
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static FlowSchemaSpecV1Beta1.Builder
builder()
default FlowDistinguisherMethodV1Beta1
getDistinguisherMethod()
`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema.default Number
getMatchingPrecedence()
`matchingPrecedence` is used to choose among the FlowSchemas that match a given request.PriorityLevelConfigurationReferenceV1Beta1
getPriorityLevelConfiguration()
`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster.default List<PolicyRulesWithSubjectsV1Beta1>
getRules()
`rules` describes which requests will match this flow schema.
-
-
-
Method Detail
-
getPriorityLevelConfiguration
@Stability(Stable) @NotNull PriorityLevelConfigurationReferenceV1Beta1 getPriorityLevelConfiguration()
`priorityLevelConfiguration` should 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 FlowDistinguisherMethodV1Beta1 getDistinguisherMethod()
`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema.nil
specifies that the distinguisher is disabled and thus will always be the empty string.
-
getMatchingPrecedence
@Stability(Stable) @Nullable default Number 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.
-
getRules
@Stability(Stable) @Nullable default List<PolicyRulesWithSubjectsV1Beta1> 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.
-
builder
@Stability(Stable) static FlowSchemaSpecV1Beta1.Builder builder()
- Returns:
- a
FlowSchemaSpecV1Beta1.Builder
ofFlowSchemaSpecV1Beta1
-
-