Class UpdateDeliveryConfigurationOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.dph_services.dph.v1.model.UpdateDeliveryConfigurationOptions.Builder
-
- Enclosing class:
- UpdateDeliveryConfigurationOptions
public static class UpdateDeliveryConfigurationOptions.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(java.lang.String containerId, java.util.List<JsonPatchOperation> jsonPatchOperation)Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDeliveryConfigurationOptions.BuilderaddJsonPatchOperation(JsonPatchOperation jsonPatchOperation)Adds a new element to jsonPatchOperation.UpdateDeliveryConfigurationOptionsbuild()Builds a UpdateDeliveryConfigurationOptions.UpdateDeliveryConfigurationOptions.BuildercontainerId(java.lang.String containerId)Set the containerId.UpdateDeliveryConfigurationOptions.BuilderjsonPatchOperation(java.util.List<JsonPatchOperation> jsonPatchOperation)Set the jsonPatchOperation.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String containerId, java.util.List<JsonPatchOperation> jsonPatchOperation)Instantiates a new builder with required properties.- Parameters:
containerId- the containerIdjsonPatchOperation- the jsonPatchOperation
-
-
Method Detail
-
build
public UpdateDeliveryConfigurationOptions build()
Builds a UpdateDeliveryConfigurationOptions.- Returns:
- the new UpdateDeliveryConfigurationOptions instance
-
addJsonPatchOperation
public UpdateDeliveryConfigurationOptions.Builder addJsonPatchOperation(JsonPatchOperation jsonPatchOperation)
Adds a new element to jsonPatchOperation.- Parameters:
jsonPatchOperation- the new element to be added- Returns:
- the UpdateDeliveryConfigurationOptions builder
-
containerId
public UpdateDeliveryConfigurationOptions.Builder containerId(java.lang.String containerId)
Set the containerId.- Parameters:
containerId- the containerId- Returns:
- the UpdateDeliveryConfigurationOptions builder
-
jsonPatchOperation
public UpdateDeliveryConfigurationOptions.Builder jsonPatchOperation(java.util.List<JsonPatchOperation> jsonPatchOperation)
Set the jsonPatchOperation. Existing jsonPatchOperation will be replaced.- Parameters:
jsonPatchOperation- the jsonPatchOperation- Returns:
- the UpdateDeliveryConfigurationOptions builder
-
-