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 EndpointTestExpectation
build()
Creates an immutable object that is created from the properties that have been set on the builder.EndpointTestExpectation.Builder
endpoint(ExpectedEndpoint endpoint)
EndpointTestExpectation.Builder
error(java.lang.String error)
EndpointTestExpectation.Builder
sourceLocation(FromSourceLocation fromSourceLocation)
-
-
-
Method Detail
-
sourceLocation
public EndpointTestExpectation.Builder sourceLocation(FromSourceLocation fromSourceLocation)
-
error
public EndpointTestExpectation.Builder error(java.lang.String error)
-
endpoint
public EndpointTestExpectation.Builder endpoint(ExpectedEndpoint endpoint)
-
build
public EndpointTestExpectation build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<EndpointTestExpectation>
- Returns:
- an instance of T
-
-