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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationContextParamsTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.OperationContextParamsTrait.Builder
clearParameters()
OperationContextParamsTrait.Builder
parameters(java.util.Map<java.lang.String,OperationContextParamDefinition> parameters)
OperationContextParamsTrait.Builder
putParameter(java.lang.String name, OperationContextParamDefinition definition)
OperationContextParamsTrait.Builder
removeParameter(java.lang.String name)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
parameters
public OperationContextParamsTrait.Builder parameters(java.util.Map<java.lang.String,OperationContextParamDefinition> parameters)
-
putParameter
public OperationContextParamsTrait.Builder putParameter(java.lang.String name, OperationContextParamDefinition definition)
-
removeParameter
public OperationContextParamsTrait.Builder removeParameter(java.lang.String name)
-
clearParameters
public OperationContextParamsTrait.Builder clearParameters()
-
build
public OperationContextParamsTrait 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
-
-