Class Event.Builder
java.lang.Object
software.amazon.smithy.protocoltests.traits.eventstream.Event.Builder
- All Implemented Interfaces:
SmithyBuilder<Event>
- Enclosing class:
- Event
Builder used to create
Event.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbodyMediaType(String bodyMediaType) build()Creates an immutable object that is created from the properties that have been set on the builder.bytes(byte[] bytes) forbidHeaders(List<String> forbidHeaders) headers(Map<String, EventHeaderValue<?>> headers) params(ObjectNode params) requireHeaders(List<String> requireHeaders) vendorParams(ObjectNode vendorParams) vendorParamsShape(ShapeId vendorParamsShape)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Description copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Specified by:
buildin interfaceSmithyBuilder<Event>- Returns:
- an instance of T
-
type
-
params
-
headers
-
forbidHeaders
-
requireHeaders
-
body
-
bodyMediaType
-
bytes
-
bytes
-
vendorParams
-
vendorParamsShape
-