Class EndpointTestCase.Builder
- java.lang.Object
-
- software.amazon.smithy.rulesengine.traits.EndpointTestCase.Builder
-
- All Implemented Interfaces:
SmithyBuilder<EndpointTestCase>
- Enclosing class:
- EndpointTestCase
public static final class EndpointTestCase.Builder extends java.lang.Object implements SmithyBuilder<EndpointTestCase>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointTestCase.Builder
addOperationInput(EndpointTestOperationInput operationInput)
EndpointTestCase
build()
Creates an immutable object that is created from the properties that have been set on the builder.EndpointTestCase.Builder
documentation(java.lang.String documentation)
EndpointTestCase.Builder
expect(EndpointTestExpectation expect)
EndpointTestCase.Builder
operationInputs(java.util.List<EndpointTestOperationInput> operationInputs)
EndpointTestCase.Builder
params(ObjectNode params)
EndpointTestCase.Builder
removeOperationInput(EndpointTestOperationInput operationInput)
EndpointTestCase.Builder
sourceLocation(FromSourceLocation sourceLocation)
-
-
-
Method Detail
-
sourceLocation
public EndpointTestCase.Builder sourceLocation(FromSourceLocation sourceLocation)
-
documentation
public EndpointTestCase.Builder documentation(java.lang.String documentation)
-
params
public EndpointTestCase.Builder params(ObjectNode params)
-
operationInputs
public EndpointTestCase.Builder operationInputs(java.util.List<EndpointTestOperationInput> operationInputs)
-
addOperationInput
public EndpointTestCase.Builder addOperationInput(EndpointTestOperationInput operationInput)
-
removeOperationInput
public EndpointTestCase.Builder removeOperationInput(EndpointTestOperationInput operationInput)
-
expect
public EndpointTestCase.Builder expect(EndpointTestExpectation expect)
-
build
public EndpointTestCase 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<EndpointTestCase>
- Returns:
- an instance of T
-
-