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 anEndpointValue
class.
-
-
Constructor Summary
Constructors Constructor Description Builder(FromSourceLocation sourceLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointValue
build()
Creates an immutable object that is created from the properties that have been set on the builder.EndpointValue.Builder
headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
EndpointValue.Builder
properties(java.util.Map<java.lang.String,Value> properties)
EndpointValue.Builder
putHeader(java.lang.String name, java.util.List<java.lang.String> values)
EndpointValue.Builder
putProperty(java.lang.String value, Value fromNode)
EndpointValue.Builder
url(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:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
-