Class UpdateRowDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public UpdateRowDetails.Builder compartmentId​(String compartmentId)
        The OCID of the table’s compartment.

        Required if the tableNameOrId path parameter is a table name. Optional if tableNameOrId is an OCID. If tableNameOrId is an OCID, and compartmentId is supplied, the latter must match the identified table’s compartmentId.

        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • isGetReturnRow

        public UpdateRowDetails.Builder isGetReturnRow​(Boolean isGetReturnRow)
        If true, and the put fails due to an option setting, then the existing row will be returned.
        Parameters:
        isGetReturnRow - the value to set
        Returns:
        this builder
      • timeoutInMs

        public UpdateRowDetails.Builder timeoutInMs​(Integer timeoutInMs)
        Timeout setting for the put.
        Parameters:
        timeoutInMs - the value to set
        Returns:
        this builder
      • isTtlUseTableDefault

        public UpdateRowDetails.Builder isTtlUseTableDefault​(Boolean isTtlUseTableDefault)
        If true, set time-to-live for this row to the table’s default.
        Parameters:
        isTtlUseTableDefault - the value to set
        Returns:
        this builder
      • identityCacheSize

        public UpdateRowDetails.Builder identityCacheSize​(Integer identityCacheSize)
        Sets the number of generated identity values that are requested from the server during a put.

        If present and greater than 0, this value takes precedence over a default value for the table.

        Parameters:
        identityCacheSize - the value to set
        Returns:
        this builder
      • isExactMatch

        public UpdateRowDetails.Builder isExactMatch​(Boolean isExactMatch)
        If present and true, the presented row value must exactly match the table’s schema.

        Otherwise, rows with missing non-key fields or extra fields can be written successfully.

        Parameters:
        isExactMatch - the value to set
        Returns:
        this builder