Class UpdateOfferingOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.catalog_management.v1.model.UpdateOfferingOptions.Builder
-
- Enclosing class:
- UpdateOfferingOptions
public static class UpdateOfferingOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateOfferingOptions.BuilderaddUpdates(JsonPatchOperation updates)Adds an updates to updates.UpdateOfferingOptionsbuild()Builds a UpdateOfferingOptions.UpdateOfferingOptions.BuildercatalogIdentifier(java.lang.String catalogIdentifier)Set the catalogIdentifier.UpdateOfferingOptions.BuilderifMatch(java.lang.String ifMatch)Set the ifMatch.UpdateOfferingOptions.BuilderofferingId(java.lang.String offeringId)Set the offeringId.UpdateOfferingOptions.Builderupdates(java.util.List<JsonPatchOperation> updates)Set the updates.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String catalogIdentifier, java.lang.String offeringId, java.lang.String ifMatch)Instantiates a new builder with required properties.- Parameters:
catalogIdentifier- the catalogIdentifierofferingId- the offeringIdifMatch- the ifMatch
-
-
Method Detail
-
build
public UpdateOfferingOptions build()
Builds a UpdateOfferingOptions.- Returns:
- the new UpdateOfferingOptions instance
-
addUpdates
public UpdateOfferingOptions.Builder addUpdates(JsonPatchOperation updates)
Adds an updates to updates.- Parameters:
updates- the new updates- Returns:
- the UpdateOfferingOptions builder
-
catalogIdentifier
public UpdateOfferingOptions.Builder catalogIdentifier(java.lang.String catalogIdentifier)
Set the catalogIdentifier.- Parameters:
catalogIdentifier- the catalogIdentifier- Returns:
- the UpdateOfferingOptions builder
-
offeringId
public UpdateOfferingOptions.Builder offeringId(java.lang.String offeringId)
Set the offeringId.- Parameters:
offeringId- the offeringId- Returns:
- the UpdateOfferingOptions builder
-
ifMatch
public UpdateOfferingOptions.Builder ifMatch(java.lang.String ifMatch)
Set the ifMatch.- Parameters:
ifMatch- the ifMatch- Returns:
- the UpdateOfferingOptions builder
-
updates
public UpdateOfferingOptions.Builder updates(java.util.List<JsonPatchOperation> updates)
Set the updates. Existing updates will be replaced.- Parameters:
updates- the updates- Returns:
- the UpdateOfferingOptions builder
-
-