Class EntityShape
java.lang.Object
software.amazon.smithy.model.shapes.Shape
software.amazon.smithy.model.shapes.EntityShape
- All Implemented Interfaces:
Comparable<Shape>
,FromSourceLocation
,ToShapeId
,Tagged
- Direct Known Subclasses:
ResourceShape
,ServiceShape
Abstract class representing service and resource shapes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
EntityShape.Builder<B extends EntityShape.Builder<?,
?>, S extends EntityShape> Builder used to create a Service or Resource shape. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get all operations directly bound to this shape.Gets operations bound only through the "operations" property.Methods inherited from class software.amazon.smithy.model.shapes.Shape
accept, asBigDecimalShape, asBigIntegerShape, asBlobShape, asBooleanShape, asByteShape, asDocumentShape, asDoubleShape, asFloatShape, asIntegerShape, asListShape, asLongShape, asMapShape, asMemberShape, asOperationShape, asResourceShape, asServiceShape, asSetShape, asShortShape, asStringShape, asStructureShape, asTimestampShape, asUnionShape, compareTo, expectTrait, findMemberTrait, findTrait, findTrait, getAllTraits, getId, getMemberTrait, getSourceLocation, getTags, getTrait, getType, hashCode, hasTrait, hasTrait, hasTrait, isBigDecimalShape, isBigIntegerShape, isBlobShape, isBooleanShape, isByteShape, isDocumentShape, isDoubleShape, isFloatShape, isIntegerShape, isListShape, isLongShape, isMapShape, isMemberShape, isOperationShape, isResourceShape, isServiceShape, isSetShape, isShortShape, isStringShape, isStructureShape, isTimestampShape, isUnionShape, members, shapeToBuilder, toShapeId, toString
-
Method Details
-
getResources
- Returns:
- Get all of the resources directly bound to this shape.
-
getOperations
Gets operations bound only through the "operations" property.This will not include operations bound to resources using a lifecycle operation binding. This will also not include operations bound to this entity through sub-resources.
- Returns:
- Get the "operations" directly bound to this shape.
- See Also:
-
getAllOperations
Get all operations directly bound to this shape.This will include operations bound directly to resources using a lifecycle operation binding. This will not include operations bound to this entity through sub-resources.
- Returns:
- Returns all operations bound to the shape.
- See Also:
-
equals
-