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 -
Method Summary
Modifier and TypeMethodDescriptionaddOperation
(String id) addResource
(String id) addResource
(ToShapeId id) operations
(Collection<ShapeId> ids) resources
(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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
operations
-
addOperation
-
addOperation
-
removeOperation
-
clearOperations
-
resources
-
addResource
-
addResource
-
removeResource
-
clearResources
-