Class Worker
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.Worker
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Worker extends com.ibm.cloud.sdk.core.service.model.GenericModelDetails of the worker used to run the pipeline.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()Gets the id.java.lang.StringgetName()Gets the name.java.lang.StringgetType()Gets the type.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name. Name of the worker. Computed based on the worker ID.- Returns:
- the name
-
getType
public java.lang.String getType()
Gets the type. Type of the worker. Computed based on the worker ID.- Returns:
- the type
-
getId
public java.lang.String getId()
Gets the id. ID of the worker.- Returns:
- the id
-
-