Class ServiceShape

  • All Implemented Interfaces:
    java.lang.Comparable<Shape>, FromSourceLocation, ToShapeId, software.amazon.smithy.utils.Tagged, software.amazon.smithy.utils.ToSmithyBuilder<ServiceShape>

    public final class ServiceShape
    extends EntityShape
    implements software.amazon.smithy.utils.ToSmithyBuilder<ServiceShape>
    Represents a service shape.
    • Method Detail

      • accept

        public <R> R accept​(ShapeVisitor<R> cases)
        Description copied from class: Shape
        Dispatches the shape to the appropriate ShapeVisitor method.
        Specified by:
        accept in class Shape
        Type Parameters:
        R - Return type of the accept.
        Parameters:
        cases - NeighborVisitor to use.
        Returns:
        Returns the result.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class EntityShape
      • getVersion

        public java.lang.String getVersion()
        Returns:
        The version of the service.