Class EndpointValue.Builder
- java.lang.Object
-
- software.amazon.smithy.rulesengine.language.RulesComponentBuilder<EndpointValue.Builder,EndpointValue>
-
- software.amazon.smithy.rulesengine.language.evaluation.value.EndpointValue.Builder
-
- All Implemented Interfaces:
FromSourceLocation,SmithyBuilder<EndpointValue>
- Enclosing class:
- EndpointValue
public static final class EndpointValue.Builder extends RulesComponentBuilder<EndpointValue.Builder,EndpointValue>
A builder used to create anEndpointValueclass.
-
-
Constructor Summary
Constructors Constructor Description Builder(FromSourceLocation sourceLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointValuebuild()Creates an immutable object that is created from the properties that have been set on the builder.EndpointValue.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)EndpointValue.Builderproperties(java.util.Map<java.lang.String,Value> properties)EndpointValue.BuilderputHeader(java.lang.String name, java.util.List<java.lang.String> values)EndpointValue.BuilderputProperty(java.lang.String value, Value fromNode)EndpointValue.Builderurl(java.lang.String url)-
Methods inherited from class software.amazon.smithy.rulesengine.language.RulesComponentBuilder
getSourceLocation, javaLocation, sourceLocation
-
-
-
-
Constructor Detail
-
Builder
public Builder(FromSourceLocation sourceLocation)
-
-
Method Detail
-
url
public EndpointValue.Builder url(java.lang.String url)
-
headers
public EndpointValue.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
putHeader
public EndpointValue.Builder putHeader(java.lang.String name, java.util.List<java.lang.String> values)
-
properties
public EndpointValue.Builder properties(java.util.Map<java.lang.String,Value> properties)
-
putProperty
public EndpointValue.Builder putProperty(java.lang.String value, Value fromNode)
-
build
public EndpointValue build()
Description copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
-