Class OperationContextParamsTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<OperationContextParamsTrait,OperationContextParamsTrait.Builder>
software.amazon.smithy.rulesengine.traits.OperationContextParamsTrait.Builder
- All Implemented Interfaces:
SmithyBuilder<OperationContextParamsTrait>
- Enclosing class:
- OperationContextParamsTrait
public static final class OperationContextParamsTrait.Builder
extends AbstractTraitBuilder<OperationContextParamsTrait,OperationContextParamsTrait.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates an immutable object that is created from the properties that have been set on the builder.parameters
(Map<String, OperationContextParamDefinition> parameters) putParameter
(String name, OperationContextParamDefinition definition) removeParameter
(String name) Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
Method Details
-
parameters
public OperationContextParamsTrait.Builder parameters(Map<String, OperationContextParamDefinition> parameters) -
putParameter
public OperationContextParamsTrait.Builder putParameter(String name, OperationContextParamDefinition definition) -
removeParameter
-
clearParameters
-
build
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-