Class Endpoint.Builder
java.lang.Object
software.amazon.smithy.rulesengine.language.util.SourceLocationTrackingBuilder<Endpoint.Builder,Endpoint>
software.amazon.smithy.rulesengine.language.Endpoint.Builder
- All Implemented Interfaces:
FromSourceLocation
,SmithyBuilder<Endpoint>
- Enclosing class:
- Endpoint
public static class Endpoint.Builder
extends SourceLocationTrackingBuilder<Endpoint.Builder,Endpoint>
Builder for
Endpoint
.-
Field Summary
Fields inherited from class software.amazon.smithy.rulesengine.language.util.SourceLocationTrackingBuilder
sourceLocation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAuthScheme
(String scheme, Map<String, Literal> parameters) addAuthScheme
(Identifier scheme, Map<Identifier, Literal> parameters) addHeader
(String name, List<Expression> value) 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) url
(Expression url) Methods inherited from class software.amazon.smithy.rulesengine.language.util.SourceLocationTrackingBuilder
getSourceLocation, sourceLocation
-
Constructor Details
-
Builder
-
-
Method Details
-
url
-
properties
-
authSchemes
public Endpoint.Builder authSchemes(List<Identifier> schemes, Map<Identifier, Map<Identifier, Literal>> params) -
addAuthScheme
-
addAuthScheme
-
sigv4
-
sigv4a
-
headers
-
addHeader
-
addHeader
-
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
-