Class EndpointTestsTrait.Builder
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTraitBuilder<EndpointTestsTrait,EndpointTestsTrait.Builder>
-
- software.amazon.smithy.rulesengine.traits.EndpointTestsTrait.Builder
-
- All Implemented Interfaces:
SmithyBuilder<EndpointTestsTrait>
- Enclosing class:
- EndpointTestsTrait
public static final class EndpointTestsTrait.Builder extends AbstractTraitBuilder<EndpointTestsTrait,EndpointTestsTrait.Builder>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointTestsTrait.Builder
addTestCase(EndpointTestCase testCase)
EndpointTestsTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.EndpointTestsTrait.Builder
removeTestCase(EndpointTestCase testCase)
EndpointTestsTrait.Builder
testCases(java.util.List<EndpointTestCase> testCases)
EndpointTestsTrait.Builder
version(java.lang.String version)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
version
public EndpointTestsTrait.Builder version(java.lang.String version)
-
testCases
public EndpointTestsTrait.Builder testCases(java.util.List<EndpointTestCase> testCases)
-
addTestCase
public EndpointTestsTrait.Builder addTestCase(EndpointTestCase testCase)
-
removeTestCase
public EndpointTestsTrait.Builder removeTestCase(EndpointTestCase testCase)
-
build
public EndpointTestsTrait 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
-
-