Class UpdateDataProductReleaseOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.dpx_services.dpx.v1.model.UpdateDataProductReleaseOptions.Builder
-
- Enclosing class:
- UpdateDataProductReleaseOptions
public static class UpdateDataProductReleaseOptions.Builder extends java.lang.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(java.lang.String dataProductId, java.lang.String releaseId, java.util.List<JsonPatchOperation> jsonPatchInstructions)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDataProductReleaseOptions.Builder
addJsonPatchInstructions(JsonPatchOperation jsonPatchInstructions)
Adds a new element to jsonPatchInstructions.UpdateDataProductReleaseOptions
build()
Builds a UpdateDataProductReleaseOptions.UpdateDataProductReleaseOptions.Builder
dataProductId(java.lang.String dataProductId)
Set the dataProductId.UpdateDataProductReleaseOptions.Builder
jsonPatchInstructions(java.util.List<JsonPatchOperation> jsonPatchInstructions)
Set the jsonPatchInstructions.UpdateDataProductReleaseOptions.Builder
releaseId(java.lang.String releaseId)
Set the releaseId.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String dataProductId, java.lang.String releaseId, java.util.List<JsonPatchOperation> jsonPatchInstructions)
Instantiates a new builder with required properties.- Parameters:
dataProductId
- the dataProductIdreleaseId
- the releaseIdjsonPatchInstructions
- the jsonPatchInstructions
-
-
Method Detail
-
build
public UpdateDataProductReleaseOptions build()
Builds a UpdateDataProductReleaseOptions.- Returns:
- the new UpdateDataProductReleaseOptions instance
-
addJsonPatchInstructions
public UpdateDataProductReleaseOptions.Builder addJsonPatchInstructions(JsonPatchOperation jsonPatchInstructions)
Adds a new element to jsonPatchInstructions.- Parameters:
jsonPatchInstructions
- the new element to be added- Returns:
- the UpdateDataProductReleaseOptions builder
-
dataProductId
public UpdateDataProductReleaseOptions.Builder dataProductId(java.lang.String dataProductId)
Set the dataProductId.- Parameters:
dataProductId
- the dataProductId- Returns:
- the UpdateDataProductReleaseOptions builder
-
releaseId
public UpdateDataProductReleaseOptions.Builder releaseId(java.lang.String releaseId)
Set the releaseId.- Parameters:
releaseId
- the releaseId- Returns:
- the UpdateDataProductReleaseOptions builder
-
jsonPatchInstructions
public UpdateDataProductReleaseOptions.Builder jsonPatchInstructions(java.util.List<JsonPatchOperation> jsonPatchInstructions)
Set the jsonPatchInstructions. Existing jsonPatchInstructions will be replaced.- Parameters:
jsonPatchInstructions
- the jsonPatchInstructions- Returns:
- the UpdateDataProductReleaseOptions builder
-
-