Class ExpectedEndpoint
- java.lang.Object
-
- software.amazon.smithy.rulesengine.traits.ExpectedEndpoint
-
- All Implemented Interfaces:
FromSourceLocation,ToSmithyBuilder<ExpectedEndpoint>
public final class ExpectedEndpoint extends java.lang.Object implements FromSourceLocation, ToSmithyBuilder<ExpectedEndpoint>
An endpoint test-case expectation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExpectedEndpoint.Builder
-
Constructor Summary
Constructors Constructor Description ExpectedEndpoint(ExpectedEndpoint.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExpectedEndpoint.Builderbuilder()booleanequals(java.lang.Object o)java.util.Map<java.lang.String,java.util.List<java.lang.String>>getHeaders()java.util.Map<java.lang.String,Node>getProperties()SourceLocationgetSourceLocation()Gets the source location of a value.java.lang.StringgetUrl()inthashCode()SmithyBuilder<ExpectedEndpoint>toBuilder()Take this object and create a builder that contains all of the current property values of this object.java.lang.StringtoString()
-
-
-
Constructor Detail
-
ExpectedEndpoint
public ExpectedEndpoint(ExpectedEndpoint.Builder builder)
-
-
Method Detail
-
builder
public static ExpectedEndpoint.Builder builder()
-
getUrl
public java.lang.String getUrl()
-
getHeaders
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaders()
-
getProperties
public java.util.Map<java.lang.String,Node> getProperties()
-
getSourceLocation
public SourceLocation getSourceLocation()
Description copied from interface:FromSourceLocationGets the source location of a value.- Specified by:
getSourceLocationin interfaceFromSourceLocation- Returns:
- Returns the source location of the value.
-
toBuilder
public SmithyBuilder<ExpectedEndpoint> toBuilder()
Description copied from interface:ToSmithyBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToSmithyBuilder<ExpectedEndpoint>- Returns:
- a builder for type T
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-