Class ExpectedEndpoint
- java.lang.Object
-
- software.amazon.smithy.rulesengine.traits.ExpectedEndpoint
-
- All Implemented Interfaces:
ToSmithyBuilder<ExpectedEndpoint>
public final class ExpectedEndpoint extends java.lang.Object implements ToSmithyBuilder<ExpectedEndpoint>
An endpoint test-case expectation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExpectedEndpoint.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.Builder
builder()
boolean
equals(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()
java.lang.String
getUrl()
int
hashCode()
SmithyBuilder<ExpectedEndpoint>
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
-
-
-
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()
-
toBuilder
public SmithyBuilder<ExpectedEndpoint> 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()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-