Package graphql.analysis
Class QueryComplexityInfo.Builder
- java.lang.Object
-
- graphql.analysis.QueryComplexityInfo.Builder
-
- Enclosing class:
- QueryComplexityInfo
@PublicApi public static class QueryComplexityInfo.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryComplexityInfo
build()
QueryComplexityInfo.Builder
complexity(int complexity)
The query complexity.QueryComplexityInfo.Builder
instrumentationExecuteOperationParameters(InstrumentationExecuteOperationParameters instrumentationExecuteOperationParameters)
QueryComplexityInfo.Builder
instrumentationValidationParameters(InstrumentationValidationParameters parameters)
The instrumentation validation parameters.
-
-
-
Method Detail
-
complexity
public QueryComplexityInfo.Builder complexity(int complexity)
The query complexity.- Parameters:
complexity
- the query complexity- Returns:
- this builder
-
instrumentationValidationParameters
public QueryComplexityInfo.Builder instrumentationValidationParameters(InstrumentationValidationParameters parameters)
The instrumentation validation parameters.- Parameters:
parameters
- the instrumentation validation parameters.- Returns:
- this builder
-
instrumentationExecuteOperationParameters
public QueryComplexityInfo.Builder instrumentationExecuteOperationParameters(InstrumentationExecuteOperationParameters instrumentationExecuteOperationParameters)
-
build
public QueryComplexityInfo build()
- Returns:
- a built
QueryComplexityInfo
object
-
-