Class HttpMalformedResponseBodyDefinition.Builder
- java.lang.Object
-
- software.amazon.smithy.protocoltests.traits.HttpMalformedResponseBodyDefinition.Builder
-
- All Implemented Interfaces:
SmithyBuilder<HttpMalformedResponseBodyDefinition>
- Enclosing class:
- HttpMalformedResponseBodyDefinition
public static final class HttpMalformedResponseBodyDefinition.Builder extends java.lang.Object implements SmithyBuilder<HttpMalformedResponseBodyDefinition>
Builder used to create a HttpMalformedResponseBodyDefinition.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpMalformedResponseBodyDefinition
build()
Creates an immutable object that is created from the properties that have been set on the builder.HttpMalformedResponseBodyDefinition.Builder
contents(java.lang.String contents)
HttpMalformedResponseBodyDefinition.Builder
mediaType(java.lang.String mediaType)
HttpMalformedResponseBodyDefinition.Builder
messageRegex(java.lang.String messageRegex)
-
-
-
Method Detail
-
contents
public HttpMalformedResponseBodyDefinition.Builder contents(java.lang.String contents)
-
mediaType
public HttpMalformedResponseBodyDefinition.Builder mediaType(java.lang.String mediaType)
-
messageRegex
public HttpMalformedResponseBodyDefinition.Builder messageRegex(java.lang.String messageRegex)
-
build
public HttpMalformedResponseBodyDefinition build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<HttpMalformedResponseBodyDefinition>
- Returns:
- an instance of T
-
-