Class UpdateDataProductDomainOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String domainId,
                       java.lang.String containerId,
                       java.util.List<JsonPatchOperation> jsonPatchInstructions)
        Instantiates a new builder with required properties.
        Parameters:
        domainId - the domainId
        containerId - the containerId
        jsonPatchInstructions - the jsonPatchInstructions
    • Method Detail

      • build

        public UpdateDataProductDomainOptions build()
        Builds a UpdateDataProductDomainOptions.
        Returns:
        the new UpdateDataProductDomainOptions instance
      • addJsonPatchInstructions

        public UpdateDataProductDomainOptions.Builder addJsonPatchInstructions​(JsonPatchOperation jsonPatchInstructions)
        Adds a new element to jsonPatchInstructions.
        Parameters:
        jsonPatchInstructions - the new element to be added
        Returns:
        the UpdateDataProductDomainOptions builder
      • domainId

        public UpdateDataProductDomainOptions.Builder domainId​(java.lang.String domainId)
        Set the domainId.
        Parameters:
        domainId - the domainId
        Returns:
        the UpdateDataProductDomainOptions builder
      • containerId

        public UpdateDataProductDomainOptions.Builder containerId​(java.lang.String containerId)
        Set the containerId.
        Parameters:
        containerId - the containerId
        Returns:
        the UpdateDataProductDomainOptions builder
      • jsonPatchInstructions

        public UpdateDataProductDomainOptions.Builder jsonPatchInstructions​(java.util.List<JsonPatchOperation> jsonPatchInstructions)
        Set the jsonPatchInstructions. Existing jsonPatchInstructions will be replaced.
        Parameters:
        jsonPatchInstructions - the jsonPatchInstructions
        Returns:
        the UpdateDataProductDomainOptions builder