Class EntityShape.Builder<B extends EntityShape.Builder,S extends EntityShape>
- java.lang.Object
-
- software.amazon.smithy.model.shapes.AbstractShapeBuilder<B,S>
-
- software.amazon.smithy.model.shapes.EntityShape.Builder<B,S>
-
- Type Parameters:
B
- Concrete builder type.S
- Shape type being created.
- All Implemented Interfaces:
FromSourceLocation
,SmithyBuilder<S>
- Direct Known Subclasses:
ResourceShape.Builder
,ServiceShape.Builder
- Enclosing class:
- EntityShape
public abstract static class EntityShape.Builder<B extends EntityShape.Builder,S extends EntityShape> extends AbstractShapeBuilder<B,S>
Builder used to create a Service or Resource shape.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
addOperation(java.lang.String id)
B
addOperation(ToShapeId id)
B
addResource(java.lang.String id)
B
addResource(ToShapeId id)
B
clearOperations()
B
clearResources()
B
operations(java.util.Collection<ShapeId> ids)
B
removeOperation(ToShapeId id)
B
removeResource(ToShapeId id)
B
resources(java.util.Collection<ShapeId> ids)
-
Methods inherited from class software.amazon.smithy.model.shapes.AbstractShapeBuilder
addMember, addTrait, addTraits, clearTraits, getId, getShapeType, getSourceLocation, id, id, removeTrait, removeTrait, source, source, traits
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.smithy.utils.SmithyBuilder
build
-
-