Class CreateToolchainEventOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.continuous_delivery.cd_toolchain.v2.model.CreateToolchainEventOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateToolchainEventOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createToolchainEvent options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateToolchainEventOptions.BuilderBuilder.static interfaceCreateToolchainEventOptions.ContentTypeThe content type of the attached data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcontentType()Gets the contentType.ToolchainEventPrototypeDatadata()Gets the data.java.lang.Stringdescription()Gets the description.CreateToolchainEventOptions.BuildernewBuilder()New builder.java.lang.Stringtitle()Gets the title.java.lang.StringtoolchainId()Gets the toolchainId.
-
-
-
Method Detail
-
newBuilder
public CreateToolchainEventOptions.Builder newBuilder()
New builder.- Returns:
- a CreateToolchainEventOptions builder
-
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
-
-