public static TableOperation insertOrReplace(final TableEntity entity) {
        Utility.assertNotNull("entity", entity);
        return new TableOperation(entity, TableOperationType.INSERT_OR_REPLACE);
    }
public static TableOperation insertOrReplace(final TableEntity entity) {
        Utility.assertNotNull("entity", entity);
        return new TableOperation(entity, TableOperationType.INSERT_OR_REPLACE);
    }
public static TableOperation insertOrReplace ( final TableEntity entity ) { Utility . assertNotNull ( "entity" , entity ) ; return new TableOperation ( entity , TableOperationType . INSERT_OR_REPLACE ) ; }
A static factory method returning a {@link TableOperation} instance to replace the specified entity in
Microsoft Azure storage, or insert it if it does not exist. To execute this {@link TableOperation} on a given
table, call
the {@link CloudTable#execute(TableOperation)} method on a {@link CloudTableClient} instance with
the table name and the {@link TableOperation} as arguments.

@param entity
The object instance implementing {@link TableEntity} to associate with the operation.
@return
A new {@link TableOperation} instance for inserting or replacing the table entity.
A static factory method returning a { @link TableOperation } instance to replace the specified entity in Microsoft Azure storage or insert it if it does not exist . To execute this { @link TableOperation } on a given table call the { @link CloudTable#execute ( TableOperation ) } method on a { @link CloudTableClient } instance with the table name and the { @link TableOperation } as arguments .