Class ExpectedEndpoint
java.lang.Object
software.amazon.smithy.rulesengine.traits.ExpectedEndpoint
- All Implemented Interfaces:
FromSourceLocation
,ToSmithyBuilder<ExpectedEndpoint>
public final class ExpectedEndpoint
extends Object
implements FromSourceLocation, ToSmithyBuilder<ExpectedEndpoint>
An endpoint test-case expectation.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExpectedEndpoint.Builder
builder()
boolean
Gets the source location of a value.getUrl()
int
hashCode()
Take this object and create a builder that contains all of the current property values of this object.toString()
-
Constructor Details
-
ExpectedEndpoint
-
-
Method Details
-
builder
-
getUrl
-
getHeaders
-
getProperties
-
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
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<ExpectedEndpoint>
- Returns:
- a builder for type T
-
hashCode
public int hashCode() -
equals
-
toString
-