Class EndpointTestExpectation.Builder
- java.lang.Object
-
- software.amazon.smithy.rulesengine.traits.EndpointTestExpectation.Builder
-
- All Implemented Interfaces:
SmithyBuilder<EndpointTestExpectation>
- Enclosing class:
- EndpointTestExpectation
public static final class EndpointTestExpectation.Builder extends java.lang.Object implements SmithyBuilder<EndpointTestExpectation>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointTestExpectationbuild()Creates an immutable object that is created from the properties that have been set on the builder.EndpointTestExpectation.Builderendpoint(ExpectedEndpoint endpoint)EndpointTestExpectation.Buildererror(java.lang.String error)
-
-
-
Method Detail
-
error
public EndpointTestExpectation.Builder error(java.lang.String error)
-
endpoint
public EndpointTestExpectation.Builder endpoint(ExpectedEndpoint endpoint)
-
build
public EndpointTestExpectation build()
Description copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Specified by:
buildin interfaceSmithyBuilder<EndpointTestExpectation>- Returns:
- an instance of T
-
-