Class EndpointTestCase
- java.lang.Object
-
- software.amazon.smithy.rulesengine.traits.EndpointTestCase
-
- All Implemented Interfaces:
FromSourceLocation
,ToSmithyBuilder<EndpointTestCase>
public final class EndpointTestCase extends java.lang.Object implements FromSourceLocation, ToSmithyBuilder<EndpointTestCase>
Describes an endpoint rule-set test case.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EndpointTestCase.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EndpointTestCase.Builder
builder()
boolean
equals(java.lang.Object o)
java.util.Optional<java.lang.String>
getDocumentation()
EndpointTestExpectation
getExpect()
java.util.List<EndpointTestOperationInput>
getOperationInputs()
ObjectNode
getParams()
SourceLocation
getSourceLocation()
Gets the source location of a value.int
hashCode()
EndpointTestCase.Builder
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
-
-
-
Method Detail
-
builder
public static EndpointTestCase.Builder builder()
-
getDocumentation
public java.util.Optional<java.lang.String> getDocumentation()
-
getParams
public ObjectNode getParams()
-
getOperationInputs
public java.util.List<EndpointTestOperationInput> getOperationInputs()
-
getExpect
public EndpointTestExpectation getExpect()
-
getSourceLocation
public SourceLocation getSourceLocation()
Description copied from interface:FromSourceLocation
Gets the source location of a value.- Specified by:
getSourceLocation
in interfaceFromSourceLocation
- Returns:
- Returns the source location of the value.
-
toBuilder
public EndpointTestCase.Builder toBuilder()
Description copied from interface:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<EndpointTestCase>
- Returns:
- a builder for type T
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-