Class ClientContextParamsTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<ClientContextParamsTrait,ClientContextParamsTrait.Builder>
software.amazon.smithy.rulesengine.traits.ClientContextParamsTrait.Builder
- All Implemented Interfaces:
SmithyBuilder<ClientContextParamsTrait>
- Enclosing class:
- ClientContextParamsTrait
public static final class ClientContextParamsTrait.Builder
extends AbstractTraitBuilder<ClientContextParamsTrait,ClientContextParamsTrait.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, ClientContextParamDefinition> parameters) putParameter
(String name, ClientContextParamDefinition definition) removeParameter
(String name) Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
Method Details
-
parameters
public ClientContextParamsTrait.Builder parameters(Map<String, ClientContextParamDefinition> parameters) -
putParameter
public ClientContextParamsTrait.Builder putParameter(String name, ClientContextParamDefinition 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
-