Class EndpointTrait.Builder
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTraitBuilder<EndpointTrait,EndpointTrait.Builder>
-
- software.amazon.smithy.model.traits.EndpointTrait.Builder
-
- All Implemented Interfaces:
SmithyBuilder<EndpointTrait>
- Enclosing class:
- EndpointTrait
public static final class EndpointTrait.Builder extends AbstractTraitBuilder<EndpointTrait,EndpointTrait.Builder>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.EndpointTrait.Builder
hostPrefix(java.lang.String hostPrefix)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
hostPrefix
public EndpointTrait.Builder hostPrefix(java.lang.String hostPrefix)
-
build
public EndpointTrait build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
-