Class PaginatedTrait.Builder
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTraitBuilder<PaginatedTrait,PaginatedTrait.Builder>
-
- software.amazon.smithy.model.traits.PaginatedTrait.Builder
-
- All Implemented Interfaces:
SmithyBuilder<PaginatedTrait>
- Enclosing class:
- PaginatedTrait
public static final class PaginatedTrait.Builder extends AbstractTraitBuilder<PaginatedTrait,PaginatedTrait.Builder>
Builds the paginated trait.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaginatedTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.PaginatedTrait.Builder
inputToken(java.lang.String memberName)
PaginatedTrait.Builder
items(java.lang.String memberName)
PaginatedTrait.Builder
outputToken(java.lang.String memberName)
PaginatedTrait.Builder
pageSize(java.lang.String memberName)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
items
public PaginatedTrait.Builder items(java.lang.String memberName)
-
inputToken
public PaginatedTrait.Builder inputToken(java.lang.String memberName)
-
outputToken
public PaginatedTrait.Builder outputToken(java.lang.String memberName)
-
pageSize
public PaginatedTrait.Builder pageSize(java.lang.String memberName)
-
build
public PaginatedTrait 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
-
-