Class CreateToolchainEventOptions

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class CreateToolchainEventOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The createToolchainEvent options.
    • Method Detail

      • toolchainId

        public java.lang.String toolchainId()
        Gets the toolchainId. ID of the toolchain to send events from.
        Returns:
        the toolchainId
      • title

        public java.lang.String title()
        Gets the title. Event title.
        Returns:
        the title
      • description

        public java.lang.String description()
        Gets the description. Describes the event.
        Returns:
        the description
      • contentType

        public java.lang.String contentType()
        Gets the contentType. The content type of the attached data. Supported values are `text/plain`, `application/json`, and `none`.
        Returns:
        the contentType
      • data

        public ToolchainEventPrototypeData data()
        Gets the data. Additional data to be added with the event. The format must correspond to the value of `content_type`.
        Returns:
        the data