Class WorkerIdentity
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.WorkerIdentity
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class WorkerIdentity extends com.ibm.cloud.sdk.core.service.model.GenericModelSpecify the worker used to run the trigger, as a worker object containing the worker ID only. If omitted, or specified as `worker: { id: 'public' }`, the IBM Managed shared workers are used.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkerIdentity.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringid()Gets the id.WorkerIdentity.BuildernewBuilder()New builder.
-
-
-
Method Detail
-
newBuilder
public WorkerIdentity.Builder newBuilder()
New builder.- Returns:
- a WorkerIdentity builder
-
id
public java.lang.String id()
Gets the id. ID of the worker.- Returns:
- the id
-
-