Class Endpoint.Builder
java.lang.Object
software.amazon.smithy.rulesengine.language.RulesComponentBuilder<Endpoint.Builder,Endpoint>
software.amazon.smithy.rulesengine.language.Endpoint.Builder
- All Implemented Interfaces:
FromSourceLocation
,SmithyBuilder<Endpoint>
- Enclosing class:
- Endpoint
Builder for
Endpoint
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAuthScheme
(String scheme, Map<String, Literal> parameters) addAuthScheme
(Identifier scheme, Map<Identifier, Literal> parameters) authSchemes
(List<Identifier> schemes, Map<Identifier, Map<Identifier, Literal>> params) build()
Creates an immutable object that is created from the properties that have been set on the builder.headers
(Map<String, List<Expression>> headers) properties
(Map<Identifier, Literal> properties) putHeader
(String name, List<Expression> value) putProperty
(Identifier identifier, Literal value) url
(Expression url) Methods inherited from class software.amazon.smithy.rulesengine.language.RulesComponentBuilder
getSourceLocation, javaLocation, sourceLocation
-
Constructor Details
-
Builder
-
-
Method Details
-
url
-
putProperty
-
properties
-
authSchemes
public Endpoint.Builder authSchemes(List<Identifier> schemes, Map<Identifier, Map<Identifier, Literal>> params) -
addAuthScheme
-
addAuthScheme
-
headers
-
putHeader
-
putHeader
-
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
-