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