Class Directive<S>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<software.amazon.smithy.model.shapes.ShapeId,​software.amazon.smithy.model.shapes.Shape> connectedShapes()  
      software.amazon.smithy.model.Model model()  
      java.util.Set<software.amazon.smithy.model.shapes.OperationShape> operations()
      Gets a set of all operation shapes in the service, sorted by name.
      software.amazon.smithy.model.shapes.ServiceShape service()  
      S settings()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • model

        public final software.amazon.smithy.model.Model model()
        Returns:
        Gets the model being code generated.
      • settings

        public final S settings()
        Returns:
        Gets code generation settings.
      • service

        public final software.amazon.smithy.model.shapes.ServiceShape service()
        Returns:
        Gets the service being generated.
      • connectedShapes

        public final java.util.Map<software.amazon.smithy.model.shapes.ShapeId,​software.amazon.smithy.model.shapes.Shape> connectedShapes()
        Returns:
        Returns a map of shapes connected to the service.
      • operations

        public java.util.Set<software.amazon.smithy.model.shapes.OperationShape> operations()
        Gets a set of all operation shapes in the service, sorted by name.

        This includes operations contained in resources in the closure of the service.

        Returns:
        Returns all sorted service operations.