public AbstractSpecWithPrimaryKey < T > withPrimaryKey ( String hashKeyName , Object hashKeyValue ) { if ( hashKeyName == null ) throw new IllegalArgumentException ( ) ; withPrimaryKey ( new PrimaryKey ( hashKeyName , hashKeyValue ) ) ; return this ; }
Sets the primary key with the specified hash - only key name and value .