Class StreamCreatorJson

java.lang.Object
com.eqixiac.equinix.fabric.model.json.creators.StreamCreatorJson

public class StreamCreatorJson extends Object
  • Constructor Details

    • StreamCreatorJson

      public StreamCreatorJson(StreamOperator.StreamBuilder streamBuilder)
    • StreamCreatorJson

      public StreamCreatorJson(StreamOperator.StreamBuilder streamBuilder, boolean forUpdate)
      Builds the request body. Create (POST) uses the full StreamPostRequest shape; update (PUT) uses the StreamPutRequest shape, which only accepts name and description (unset fields are omitted via the mapper's NON_NULL inclusion).
      Parameters:
      streamBuilder - the source builder
      forUpdate - true to produce a StreamPutRequest-shaped body