Class UpdateToolchainOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.continuous_delivery.cd_toolchain.v2.model.UpdateToolchainOptions.Builder
-
- Enclosing class:
- UpdateToolchainOptions
public static class UpdateToolchainOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateToolchainOptionsbuild()Builds a UpdateToolchainOptions.UpdateToolchainOptions.BuildertoolchainId(java.lang.String toolchainId)Set the toolchainId.UpdateToolchainOptions.BuildertoolchainPrototypePatch(java.util.Map<java.lang.String,java.lang.Object> toolchainPrototypePatch)Set the toolchainPrototypePatch.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String toolchainId, java.util.Map<java.lang.String,java.lang.Object> toolchainPrototypePatch)Instantiates a new builder with required properties.- Parameters:
toolchainId- the toolchainIdtoolchainPrototypePatch- the toolchainPrototypePatch
-
-
Method Detail
-
build
public UpdateToolchainOptions build()
Builds a UpdateToolchainOptions.- Returns:
- the new UpdateToolchainOptions instance
-
toolchainId
public UpdateToolchainOptions.Builder toolchainId(java.lang.String toolchainId)
Set the toolchainId.- Parameters:
toolchainId- the toolchainId- Returns:
- the UpdateToolchainOptions builder
-
toolchainPrototypePatch
public UpdateToolchainOptions.Builder toolchainPrototypePatch(java.util.Map<java.lang.String,java.lang.Object> toolchainPrototypePatch)
Set the toolchainPrototypePatch.- Parameters:
toolchainPrototypePatch- the toolchainPrototypePatch- Returns:
- the UpdateToolchainOptions builder
-
-