Interface CreateModelRequest.Builder

    • Method Detail

      • restApiId

        CreateModelRequest.Builder restApiId​(String restApiId)

        The RestApi identifier under which the Model will be created.

        Parameters:
        restApiId - The RestApi identifier under which the Model will be created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CreateModelRequest.Builder name​(String name)

        The name of the model. Must be alphanumeric.

        Parameters:
        name - The name of the model. Must be alphanumeric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateModelRequest.Builder description​(String description)

        The description of the model.

        Parameters:
        description - The description of the model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • schema

        CreateModelRequest.Builder schema​(String schema)

        The schema for the model. For application/json models, this should be JSON schema draft 4 model. The maximum size of the model is 400 KB.

        Parameters:
        schema - The schema for the model. For application/json models, this should be JSON schema draft 4 model. The maximum size of the model is 400 KB.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentType

        CreateModelRequest.Builder contentType​(String contentType)

        The content-type for the model.

        Parameters:
        contentType - The content-type for the model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.