Interface CodegenJob.Builder

    • Method Detail

      • id

        CodegenJob.Builder id​(String id)

        The unique ID for the code generation job.

        Parameters:
        id - The unique ID for the code generation job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • appId

        CodegenJob.Builder appId​(String appId)

        The ID of the Amplify app associated with the code generation job.

        Parameters:
        appId - The ID of the Amplify app associated with the code generation job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • environmentName

        CodegenJob.Builder environmentName​(String environmentName)

        The name of the backend environment associated with the code generation job.

        Parameters:
        environmentName - The name of the backend environment associated with the code generation job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • renderConfig

        CodegenJob.Builder renderConfig​(CodegenJobRenderConfig renderConfig)
        Sets the value of the RenderConfig property for this object.
        Parameters:
        renderConfig - The new value for the RenderConfig property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • genericDataSchema

        CodegenJob.Builder genericDataSchema​(CodegenJobGenericDataSchema genericDataSchema)
        Sets the value of the GenericDataSchema property for this object.
        Parameters:
        genericDataSchema - The new value for the GenericDataSchema property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoGenerateForms

        CodegenJob.Builder autoGenerateForms​(Boolean autoGenerateForms)

        Specifies whether to autogenerate forms in the code generation job.

        Parameters:
        autoGenerateForms - Specifies whether to autogenerate forms in the code generation job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • features

        CodegenJob.Builder features​(CodegenFeatureFlags features)
        Sets the value of the Features property for this object.
        Parameters:
        features - The new value for the Features property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        CodegenJob.Builder status​(String status)

        The status of the code generation job.

        Parameters:
        status - The status of the code generation job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CodegenJobStatus, CodegenJobStatus
      • statusMessage

        CodegenJob.Builder statusMessage​(String statusMessage)

        The customized status message for the code generation job.

        Parameters:
        statusMessage - The customized status message for the code generation job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • asset

        CodegenJob.Builder asset​(CodegenJobAsset asset)

        The CodegenJobAsset to use for the code generation job.

        Parameters:
        asset - The CodegenJobAsset to use for the code generation job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CodegenJob.Builder tags​(Map<String,​String> tags)

        One or more key-value pairs to use when tagging the code generation job.

        Parameters:
        tags - One or more key-value pairs to use when tagging the code generation job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        CodegenJob.Builder createdAt​(Instant createdAt)

        The time that the code generation job was created.

        Parameters:
        createdAt - The time that the code generation job was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • modifiedAt

        CodegenJob.Builder modifiedAt​(Instant modifiedAt)

        The time that the code generation job was modified.

        Parameters:
        modifiedAt - The time that the code generation job was modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dependencies

        CodegenJob.Builder dependencies​(Collection<CodegenDependency> dependencies)

        Lists the dependency packages that may be required for the project code to run.

        Parameters:
        dependencies - Lists the dependency packages that may be required for the project code to run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dependencies

        CodegenJob.Builder dependencies​(CodegenDependency... dependencies)

        Lists the dependency packages that may be required for the project code to run.

        Parameters:
        dependencies - Lists the dependency packages that may be required for the project code to run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.